xfs: only call xf{array,blob}_destroy if we have a valid pointer
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: only call xf{array,blob}_destroy if we have a valid pointer
Only call the xfarray and xfblob destructor if we have a valid pointer, and be sure to null out that pointer afterwards. Note that this patch fixes a large number of commits, most of which were merged between 6.9 and 6.10.
From the CVE record · Linux
The Linux kernel's XFS code can call xfarray or xfblob destructors without a valid pointer, causing a null-pointer dereference. The input does not specify how an attacker could trigger it or whether access, authentication, or user interaction is required.
Engineers running the Linux kernel with XFS should check their versions; the affected version range is not specified.