ceph: fix a buffer leak in __ceph_setxattr()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 86968ef21596515958d5f0a40233d02be78ecec0 · < 3fa13ceefbc5f36131110342743994cb3de80637| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ceph: fix a buffer leak in __ceph_setxattr()
The old_blob in __ceph_setxattr() can store ci->i_xattrs.prealloc_blob value during the retry. However, it is never called the ceph_buffer_put() for the old_blob object. This patch fixes the issue of the buffer leak.
From the CVE record · Linux
The Linux kernel’s ceph __ceph_setxattr() function can leak a buffer when a retry stores the preallocated blob in old_blob without releasing it. The input does not establish whether an attacker can trigger the leak or specify any access or user-interaction requirements.
Engineers running Linux kernels with the ceph component should check their versions; affected versions are not specified.