Linux: NULL Pointer Dereference
CVE-2024-27053 is a high-severity NULL pointer dereference vulnerability in Linux, with a CVSS 3.1 base score of 8.8 out of 10. It can be exploited from the same local network by an unauthenticated attacker, without any action from a user. The record lists versions e556006de4ea93abe2b46cba202a2556c544b8b2, b4bbf38c350acb6500cbe667b1e2e68f896e4b38, d80fc436751cfa6b02a8eda74eb6cce7dadfe5a2 as the first without the flaw, so updating Linux to one of those releases or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 1.65% chance of exploitation within 30 days, higher than 77% of scored CVEs.
High severity with no evidence of exploitation so far.
What to do
- Update Linux to e556006de4ea93abe2b46cba202a2556c544b8b2 or b4bbf38c350acb6500cbe667b1e2e68f896e4b38 or d80fc436751cfa6b02a8eda74eb6cce7dadfe5a2 or 745003b5917b610352f52fe0d11ef658d6471ec2, whichever matches your release line, or a later version.
- Update linux_kernel to e556006de4ea or b4bbf38c350a or d80fc436751c or 745003b5917b, whichever matches your release line, or a later version.
- Update SIMATIC S7-1500 TM MFP - GNU/Linux subsystem to V1.1.1 or a later version.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Linux | Linux | c460495ee072fc01a9b1e8d72c179510418cafac up to, but not including, e556006de4ea93abe2b46cba202a2556c544b8b2; c460495ee072fc01a9b1e8d72c179510418cafac up to, but not including, b4bbf38c350acb6500cbe667b1e2e68f896e4b38; c460495ee072fc01a9b1e8d72c179510418cafac up to, but not including, d80fc436751cfa6b02a8eda74eb6cce7dadfe5a2; c460495ee072fc01a9b1e8d72c179510418cafac up to, but not including, 745003b5917b610352f52fe0d11ef658d6471ec2; c460495ee072fc01a9b1e8d72c179510418cafac up to, but not including, 4bfd20d5f5c62b5495d6c0016ee6933bd3add7ce; c460495ee072fc01a9b1e8d72c179510418cafac up to, but not including, 5800ec78775c0cd646f71eb9bf8402fb794807de; c460495ee072fc01a9b1e8d72c179510418cafac up to, but not including, dd50d3ead6e3707bb0a5df7cc832730c93ace3a7; c460495ee072fc01a9b1e8d72c179510418cafac up to, but not including, 205c50306acf58a335eb19fa84e40140f4fe814f; and 1 more ranges | e556006de4ea93abe2b46cba202a2556c544b8b2, b4bbf38c350acb6500cbe667b1e2e68f896e4b38, d80fc436751cfa6b02a8eda74eb6cce7dadfe5a2, 745003b5917b610352f52fe0d11ef658d6471ec2, 4bfd20d5f5c62b5495d6c0016ee6933bd3add7ce, 5800ec78775c0cd646f71eb9bf8402fb794807de |
| Linux | linux_kernel | c460495ee072 up to, but not including, e556006de4ea; c460495ee072 up to, but not including, b4bbf38c350a; c460495ee072 up to, but not including, d80fc436751c; c460495ee072 up to, but not including, 745003b5917b; c460495ee072 up to, but not including, 4bfd20d5f5c; c460495ee072 up to, but not including, 5800ec78775c; c460495ee072 up to, but not including, dd50d3ead6e3; c460495ee072 up to, but not including, 205c50306acf; and 1 more ranges | e556006de4ea, b4bbf38c350a, d80fc436751c, 745003b5917b, 4bfd20d5f5c, 5800ec78775c |
| Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | before V1.1.1 | V1.1.1 |
| Debian | Debian Linux | 10.0 | Not stated |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- AdjacentThe attacker must be on the same local network segment.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- NoneNo account or login is needed.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- HighData or code can be modified at will.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. Scored by CNA.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 8.8 | High | CNA |
| CVSS 3.1 | 9.1 | Critical | CISA (ADP) |
Official description
In the Linux kernel, the following vulnerability has been resolved: wifi: wilc1000: fix RCU usage in connect path With lockdep enabled, calls to the connect function from cfg802.11 layer lead to the following warning: ============================= WARNING: suspicious RCU usage 6.7.0-rc1-wt+ #333 Not tainted ----------------------------- drivers/net/wireless/microchip/wilc1000/hif.c:386 suspicious rcu_dereference_check() usage! [...] stack backtrace: CPU: 0 PID: 100 Comm: wpa_supplicant Not tainted 6.7.0-rc1-wt+ #333 Hardware name: Atmel SAMA5 unwind_backtrace from show_stack+0x18/0x1c show_stack from dump_stack_lvl+0x34/0x48 dump_stack_lvl from wilc_parse_join_bss_param+0x7dc/0x7f4 wilc_parse_join_bss_param from connect+0x2c4/0x648 connect from cfg80211_connect+0x30c/0xb74 cfg80211_connect from nl80211_connect+0x860/0xa94 nl80211_connect from genl_rcv_msg+0x3fc/0x59c genl_rcv_msg from netlink_rcv_skb+0xd0/0x1f8 netlink_rcv_skb from genl_rcv+0x2c/0x3c genl_rcv from netlink_unicast+0x3b0/0x550 netlink_unicast from netlink_sendmsg+0x368/0x688 netlink_sendmsg from ____sys_sendmsg+0x190/0x430 ____sys_sendmsg from ___sys_sendmsg+0x110/0x158 ___sys_sendmsg from sys_sendmsg+0xe8/0x150 sys_sendmsg from ret_fast_syscall+0x0/0x1c This warning is emitted because in the connect path, when trying to parse target BSS parameters, we dereference a RCU pointer whithout being in RCU critical section. Fix RCU dereference usage by moving it to a RCU read critical section. To avoid wrapping the whole wilc_parse_join_bss_param under the critical section, just use the critical section to copy ies data
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: NULL Pointer Dereference
The product dereferences a pointer that it expects to be valid but is NULL.
How developers prevent this class of flaw
- For any pointers that could have been modified or provided from a function that can return NULL, check the pointer for NULL before use. When working with a multithreaded or otherwise asynchronous environment, ensure that proper locking APIs are used to lock before the check, and unlock when it has finished.
- Select a programming language that is not susceptible to these issues.
- Check the results of all functions that return a value and verify that the value is non-null before acting upon it.
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: yes, technical impact: partial).
- Record last changed materially (score, affected products, status or references).
References
Patches and release notes
- git.kernel.org/stable/c/205c50306acf58a335eb19fa84e40140f4fe814f
- git.kernel.org/stable/c/4bfd20d5f5c62b5495d6c0016ee6933bd3add7ce
- git.kernel.org/stable/c/5800ec78775c0cd646f71eb9bf8402fb794807de
- git.kernel.org/stable/c/745003b5917b610352f52fe0d11ef658d6471ec2
- git.kernel.org/stable/c/b4bbf38c350acb6500cbe667b1e2e68f896e4b38
- git.kernel.org/stable/c/d80fc436751cfa6b02a8eda74eb6cce7dadfe5a2
- git.kernel.org/stable/c/dd50d3ead6e3707bb0a5df7cc832730c93ace3a7
- git.kernel.org/stable/c/e556006de4ea93abe2b46cba202a2556c544b8b2
Third-party and government advisories
- lists.debian.org/debian-lts-announce/2024/06/msg00017.htmlMailing List, Third Party Advisory
Other references
Recent NULL Pointer Dereference vulnerabilities
- 7.8 High severity
- 7.5 High severity
- 7.8 High severity
- 7.6 High severity
- 7.8 High severity
- 7.5 High severity
Spotted an error? Tell us.