xfs: destroy seen inode bitmap when we fail to add a dirpath
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
xfs: destroy seen inode bitmap when we fail to add a dirpath
LOLLM observes a memory leak in xchk_dirtree_create_path if we create the directory path object but appending the name to the path fails. When this happens, we don't tear down the (empty) seen inode bitmap. This is a pretty trivial error, but let's not leave logic bombs.
Do the same for a similar bug in xrep_dirtree_create_adoption_path.
From the CVE record · Linux
The Linux kernel’s XFS directory path handling can leak a seen-inode bitmap if adding a name to a newly created path fails. A similar issue exists in the adoption-path function. The input does not describe an attacker action or specify access, authentication, or user-interaction requirements.
Engineers running Linux kernels with XFS should check their kernel versions against the vendor advisory; affected versions are not specified.