CVE-2023-53240
BaseFortify
Publication date: 2025-09-15
Last updated on: 2025-12-03
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | From 5.15.33 (inc) to 5.16 (exc) |
| linux | linux_kernel | From 5.16.19 (inc) to 5.17 (exc) |
| linux | linux_kernel | From 5.17.2 (inc) to 6.1.16 (exc) |
| linux | linux_kernel | From 6.2 (inc) to 6.2.3 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-476 | The product dereferences a pointer that it expects to be valid but is NULL. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a NULL pointer dereference in the Linux kernel's xsk (XDP socket) transmit (Tx) path. It occurs because the check for whether the network interface is up (IFF_UP flag) is done too late in the sendmsg() syscall path, allowing the code to mark a napi id on an interface that is not up. This leads to a NULL pointer dereference and a kernel crash (Oops). The issue arises from improper ordering of sanity checks in the xsk_xmit() function, which is called by both sendmsg() and poll() syscalls.
How can this vulnerability impact me? :
This vulnerability can cause a kernel NULL pointer dereference, leading to a kernel crash or system instability when using the xsk transmit path via sendmsg() or poll() syscalls. This can result in denial of service (DoS) conditions on affected systems.
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by monitoring the system kernel logs for NULL pointer dereference errors related to xsk_sendmsg, such as messages indicating a BUG or Oops in the kernel with references to xsk_sendmsg and kernel NULL pointer dereference. You can use the command 'dmesg | grep -i xsk_sendmsg' or 'journalctl -k | grep -i xsk_sendmsg' to look for such kernel error messages.
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation involves updating the Linux kernel to a version where this vulnerability is fixed, as the issue is resolved by adding sanity checks earlier in the transmit path. Until an update is applied, avoid using the xsk sendmsg or poll syscalls on interfaces that are not brought up (IFF_UP).