# CVE-2026-53106: bpf: Do not allow deleting local storage in NMI

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-06-24T16:30:41.382Z
- Modified: 2026-11-06T17:18:06.757Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

bpf: Do not allow deleting local storage in NMI

Currently, local storage may deadlock when deferring freeing selem or
local storage through kfree_rcu(), call_rcu() or call_rcu_tasks_trace()
in NMI or reentrant. Since deleting selem in NMI is an unlikely use
case, partially mitigate it by returning error when calling from
bpf_xxx_storage_delete() helpers in NMI. Note that, it is still possible
to deadlock through reentrant. A full mitigation requires returning
error when irqs_disabled() is true, which, however is too heavy-handed
for bpf_xxx_storage_delete().

The long-term solution requires _nolock versions of call_rcu. Another
possible solution is to defer the free through irq_work [0], but it
would grow the size of selem, which is non-ideal.

The check is only needed in bpf_selem_unlink(), which is used by helpers
and syscalls. bpf_selem_unlink_nofail() is fine as it is called during
map and owner tear down that never run in NMI or reentrant.

[0] https://lore.kernel.org/bpf/20260205190233.912-1-alexei.starovoitov@gmail.com/

(As written by CVE List.)

## Affected

- Linux Linux: from a10787e6d58c24b51e91c19c6d16c5da89fcaa4b before e84acaf936970b5b0be2c93bbf255295ba9406df; from a10787e6d58c24b51e91c19c6d16c5da89fcaa4b before 350de5b8a9befaa2a68861c51f671d4f5f751ca5; 5.13 (not affected: before 5.13; from 7.0.10 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 5.13 before 7.0.10

## References

- <https://git.kernel.org/stable/c/e84acaf936970b5b0be2c93bbf255295ba9406df> (patch)
- <https://git.kernel.org/stable/c/350de5b8a9befaa2a68861c51f671d4f5f751ca5> (patch)

## Sources

- CVE List: [CVE-2026-53106](https://www.cve.org/CVERecord?id=CVE-2026-53106), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-53106](https://nvd.nist.gov/vuln/detail/CVE-2026-53106), Public domain, modified 2026-11-06

---

Page: https://cve.day/CVE-2026-53106 · Whole record: https://cve.day/CVE-2026-53106.json · Rebuilt by cve.day 2026-11-25T22:59:25.697Z
