CVE-2023-54268
N/A
N/A
Summary
In the Linux kernel, the following vulnerability has been resolved:
debugobjects: Don't wake up kswapd from fill_pool()
syzbot is reporting a lockdep warning in fill_pool() because the allocation from debugobjects is using GFP_ATOMIC, which is (__GFP_HIGH | __GFP_KSWAPD_RECLAIM) and therefore tries to wake up kswapd, which acquires kswapd_wait::lock.
Since fill_pool() might be called with arbitrary locks held, fill_pool() should not assume that acquiring kswapd_wait::lock is safe.
Use __GFP_HIGH instead and remove __GFP_NORETRY as it is pointless for !__GFP_DIRECT_RECLAIM allocation.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | 3ac7fe5a4aab409bd5674d0b070bce97f9d20872 < be646802b3dc408c4dc72a3ac32c3f4a0282414d | affected |
| Linux | Linux | 3ac7fe5a4aab409bd5674d0b070bce97f9d20872 < fd673079749bac97bb30f1461df079e6c8e86511 | affected |
| Linux | Linux | 3ac7fe5a4aab409bd5674d0b070bce97f9d20872 < aee97eec77029270866c704f66cdf2881cbd2fe1 | affected |
| Linux | Linux | 3ac7fe5a4aab409bd5674d0b070bce97f9d20872 < d7fff52c99d52f180d8bef95d8ed8fec6343889c | affected |
| Linux | Linux | 3ac7fe5a4aab409bd5674d0b070bce97f9d20872 < 4c088d30a72d9b8f9c6ae9362222942e4075cb00 | affected |
| Linux | Linux | 3ac7fe5a4aab409bd5674d0b070bce97f9d20872 < eb799279fb1f9c63c520fe8c1c41cb9154252db6 | affected |
| Linux | Linux | 2.6.26 | affected |
| Linux | Linux | 0 < 2.6.26 | unaffected |
| Linux | Linux | 5.4.244 <= 5.4.* | unaffected |
| Linux | Linux | 5.10.181 <= 5.10.* | unaffected |
| Linux | Linux | 5.15.114 <= 5.15.* | unaffected |
| Linux | Linux | 6.1.31 <= 6.1.* | unaffected |
| Linux | Linux | 6.3.5 <= 6.3.* | unaffected |
| Linux | Linux | 6.4 <= * | unaffected |
Weaknesses
References
- https://git.kernel.org/stable/c/be646802b3dc408c4dc72a3ac32c3f4a0282414d
- https://git.kernel.org/stable/c/fd673079749bac97bb30f1461df079e6c8e86511
- https://git.kernel.org/stable/c/aee97eec77029270866c704f66cdf2881cbd2fe1
- https://git.kernel.org/stable/c/d7fff52c99d52f180d8bef95d8ed8fec6343889c
- https://git.kernel.org/stable/c/4c088d30a72d9b8f9c6ae9362222942e4075cb00
- https://git.kernel.org/stable/c/eb799279fb1f9c63c520fe8c1c41cb9154252db6
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.