xfs: check return value of xchk_scrub_create_subord
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: check return value of xchk_scrub_create_subord
Fix this function to return NULL instead of a mangled ENOMEM, then fix the callers to actually check for a null pointer and return ENOMEM. Most of the corrections here are for code merged between 6.2 and 6.10.
From the CVE record · Linux
The Linux kernel's XFS scrub code mishandles a failed subordinate creation, returning a malformed ENOMEM value that callers do not check as a null pointer. The input does not specify what an attacker could achieve or whether exploitation requires network access, local access, authentication, or user interaction.
Engineers running Linux kernels with XFS scrub code should check their kernel's status; the input does not identify an exact affected version range.