CVE-2023-53566
netfilter: nft_set_rbtree: fix null deref on element insertion
Check your servers for CVE-2023-53566
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-53566 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
netfilter: nft_set_rbtree: fix null deref on element insertion
There is no guarantee that rb_prev() will not return NULL in nft_rbtree_gc_elem():
general protection fault, probably for non-canonical address 0xdffffc0000000003: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000018-0x000000000000001f] nft_add_set_elem+0x14b0/0x2990 nf_tables_newsetelem+0x528/0xb30
Furthermore, there is a possible use-after-free while iterating, 'node' can be free'd so we need to cache the next value to use.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.15%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 4.59% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 15 Oct 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 7ab87a326f20c52ff4d9972052d085be951c704b, before b76db53ee8802ee5683f8cb401d7e2ec6f9b3d56 affected from 181859bdfb9734aca449512fccaee4cacce64aed, before 899aa5638568abf5d69de7a7bb95e4615157375b affected from 4aacf3d78424293e318c616016865380b37b9cc5, before 3fa13203b6d90cc3a33af47b058739f92ab82eef affected from 2bf1435fa19d2c58054391b3bba40d5510a5758c, before ec5caa765f7f6960011c919c9aeb1467940421f6 affected from 318cb24a4c3fce8140afaf84e4d45fcb76fb280b, before a836be60a3aabcedcd9c79f545d409ace1f20ba6 affected from c9e6978e2725a7d4b6cd23b2facd3f11422c0643, before a337706c1fb35aac3f26b48aca80421bdbe1d33a affected from c9e6978e2725a7d4b6cd23b2facd3f11422c0643, before 61ae320a29b0540c16931816299eb86bf2b66c08 affected from 5.10.166, before 5.10.181 affected from 5.15.91, before 5.15.113 affected from 6.1.9, before 6.1.30
Other versions: unaffected
|
| Linux |
affected 6.2 unaffected before 6.2 unaffected from 5.10.181 up to and including 5.10.* unaffected from 5.15.113 up to and including 5.15.* unaffected from 6.1.30 up to and including 6.1.* unaffected from 6.3.4 up to and including 6.3.* unaffected 6.4 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-53566 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-53566
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2023-53566
trivy image --scanners vuln IMAGE | grep CVE-2023-53566
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/b76db53ee8802ee5683f8cb401d7e2ec6f9b3d56 git.kernel.org
- https://git.kernel.org/stable/c/899aa5638568abf5d69de7a7bb95e4615157375b git.kernel.org
- https://git.kernel.org/stable/c/3fa13203b6d90cc3a33af47b058739f92ab82eef git.kernel.org
- https://git.kernel.org/stable/c/ec5caa765f7f6960011c919c9aeb1467940421f6 git.kernel.org
- https://git.kernel.org/stable/c/a836be60a3aabcedcd9c79f545d409ace1f20ba6 git.kernel.org
- https://git.kernel.org/stable/c/a337706c1fb35aac3f26b48aca80421bdbe1d33a git.kernel.org
- https://git.kernel.org/stable/c/61ae320a29b0540c16931816299eb86bf2b66c08 git.kernel.org
Source: the record CVE-2023-53566 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse