CVE-2023-54268
JSON

Not scored

debugobjects: Don't wake up kswapd from fill_pool()

Severity
Not scored
Exploit likelihood
0.22% (higher than 13% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

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

Product or packageVersionsReported by
Linux Linuxfrom 3ac7fe5a4aab409bd5674d0b070bce97f9d20872 before be646802b3dc408c4dc72a3ac32c3f4a0282414d, from 3ac7fe5a4aab409bd5674d0b070bce97f9d20872 before fd673079749bac97bb30f1461df079e6c8e86511, from 3ac7fe5a4aab409bd5674d0b070bce97f9d20872 before aee97eec77029270866c704f66cdf2881cbd2fe1, from 3ac7fe5a4aab409bd5674d0b070bce97f9d20872 before d7fff52c99d52f180d8bef95d8ed8fec6343889c, from 3ac7fe5a4aab409bd5674d0b070bce97f9d20872 before 4c088d30a72d9b8f9c6ae9362222942e4075cb00, from 3ac7fe5a4aab409bd5674d0b070bce97f9d20872 before eb799279fb1f9c63c520fe8c1c41cb9154252db6, 2.6.26
Not affected: before 2.6.26, from 5.4.244 up to 5.4.*, from 5.10.181 up to 5.10.*, from 5.15.114 up to 5.15.*, from 6.1.31 up to 6.1.*, from 6.3.5 up to 6.3.*
CVE List

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: debugobjects: No despertar a kswapd desde fill_pool() syzbot está reportando una advertencia de lockdep en fill_pool() porque la asignación de debugobjects está usando GFP_ATOMIC, que es (__GFP_HIGH | __GFP_KSWAPD_RECLAIM) y por lo tanto intenta despertar a kswapd, que adquiere kswapd_wait::lock. Dado que fill_pool() podría ser llamado con bloqueos arbitrarios mantenidos, fill_pool() no debería asumir que adquirir kswapd_wait::lock es seguro. Usar __GFP_HIGH en su lugar y eliminar __GFP_NORETRY ya que es inútil para la asignación !__GFP_DIRECT_RECLAIM.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-54268 changed 2026-05-11CVE Terms of Use
NVDCVE-2023-54268 changed 2026-06-17Public domain