safesetid: check size of policy writes
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ aeca4e2ca65c1aeacfbe520684e6421719d99417 · < c71d35676d46090c891b6419f253fb92a1a9f4eb| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
safesetid: check size of policy writes
syzbot attempts to write a buffer with a large size to a sysfs entry with writes handled by handle_policy_update(), triggering a warning in kmalloc.
Check the size specified for write buffers before allocating.
[PM: subject tweak]
From the CVE record · Linux
The Linux kernel's safesetid policy-write handler did not check buffer size before allocating memory. Writing a buffer with a large specified size to the relevant sysfs entry can trigger a warning in kmalloc. The input does not specify authentication requirements.
Engineers running Linux kernels with the safesetid policy-write handler should check their versions; affected versions are not specified.