Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: fs: Free any excess xarray nodes in clear_inode() For many years we've had a hard to hit leak of xarray nodes. Hugh documented it well in commit 786b31121a2c. Recently people and syzbot have found ways to force it to happen with madvise. Rather than fix the leaks where they happen, just call xa_destroy() which has the side-effect of cycling the i_pages lock.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before f1c966eb6ed5e190c90a56c5bdaa69967de39f21; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 21f51434c47d8628b62275ae6c6ad6b573abcd02; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 50cff3f112d64db6e5f57355f79bc837db8fe132; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 43f830e2bb84b22ca824b20bb861d823ecb520bd; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before ee3f011250104129893d8e9599147e457d4d7280; affected 0 before 6.6.160; affected 0 before 6.12.113; affected 0 before 6.18.57; affected 0 before 7.2.11 |
| Linux / Linux | unaffected 6.6.160 through 6.6.*; unaffected 6.12.113 through 6.12.*; unaffected 6.18.57 through 6.18.*; unaffected 7.2.11 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/f1c966eb6ed5e190c90a56c5bdaa69967de39f21
- https://git.kernel.org/stable/c/21f51434c47d8628b62275ae6c6ad6b573abcd02
- https://git.kernel.org/stable/c/50cff3f112d64db6e5f57355f79bc837db8fe132
- https://git.kernel.org/stable/c/43f830e2bb84b22ca824b20bb861d823ecb520bd
- https://git.kernel.org/stable/c/ee3f011250104129893d8e9599147e457d4d7280