CVE-2024-26600
phy: ti: phy-omap-usb2: Fix NULL pointer dereference for SRP
Check your servers for CVE-2024-26600
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-2024-26600 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:
phy: ti: phy-omap-usb2: Fix NULL pointer dereference for SRP
If the external phy working together with phy-omap-usb2 does not implement send_srp(), we may still attempt to call it. This can happen on an idle Ethernet gadget triggering a wakeup for example:
configfs-gadget.g1 gadget.0: ECM Suspend configfs-gadget.g1 gadget.0: Port suspended. Triggering wakeup ... Unable to handle kernel NULL pointer dereference at virtual address 00000000 when execute ... PC is at 0x0 LR is at musb_gadget_wakeup+0x1d4/0x254 [musb_hdrc] ... musb_gadget_wakeup [musb_hdrc] from usb_gadget_wakeup+0x1c/0x3c [udc_core] usb_gadget_wakeup [udc_core] from eth_start_xmit+0x3b0/0x3d4 [u_ether] eth_start_xmit [u_ether] from dev_hard_start_xmit+0x94/0x24c dev_hard_start_xmit from sch_direct_xmit+0x104/0x2e4 sch_direct_xmit from __dev_queue_xmit+0x334/0xd88 __dev_queue_xmit from arp_solicit+0xf0/0x268 arp_solicit from neigh_probe+0x54/0x7c neigh_probe from __neigh_event_send+0x22c/0x47c __neigh_event_send from neigh_resolve_output+0x14c/0x1c0 neigh_resolve_output from ip_finish_output2+0x1c8/0x628 ip_finish_output2 from ip_send_skb+0x40/0xd8 ip_send_skb from udp_send_skb+0x124/0x340 udp_send_skb from udp_sendmsg+0x780/0x984 udp_sendmsg from __sys_sendto+0xd8/0x158 __sys_sendto from ret_fast_syscall+0x0/0x58
Let's fix the issue by checking for send_srp() and set_vbus() before calling them. For USB peripheral only cases these both could be NULL.
Exploitation
EPSS 0.30%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 23.7% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 28 Jun 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 657b306a7bdfca4ae1514b533a0e7c3c6d26dbc6, before 486218c11e8d1c8f515a3bdd70d62203609d4b6b affected from 657b306a7bdfca4ae1514b533a0e7c3c6d26dbc6, before 8398d8d735ee93a04fb9e9f490e8cacd737e3bf5 affected from 657b306a7bdfca4ae1514b533a0e7c3c6d26dbc6, before be3b82e4871ba00e9b5d0ede92d396d579d7b3b3 affected from 657b306a7bdfca4ae1514b533a0e7c3c6d26dbc6, before 8cc889b9dea0579726be9520fcc766077890b462 affected from 657b306a7bdfca4ae1514b533a0e7c3c6d26dbc6, before 0430bfcd46657d9116a26cd377f112cbc40826a4 affected from 657b306a7bdfca4ae1514b533a0e7c3c6d26dbc6, before 14ef61594a5a286ae0d493b8acbf9eac46fd04c4 affected from 657b306a7bdfca4ae1514b533a0e7c3c6d26dbc6, before 396e17af6761b3cc9e6e4ca94b4de7f642bfece1 affected from 657b306a7bdfca4ae1514b533a0e7c3c6d26dbc6, before 7104ba0f1958adb250319e68a15eff89ec4fd36d
Other versions: unaffected
|
| Linux |
affected 3.7 unaffected before 3.7 unaffected from 4.19.307 up to and including 4.19.* unaffected from 5.4.269 up to and including 5.4.* unaffected from 5.10.210 up to and including 5.10.* unaffected from 5.15.149 up to and including 5.15.* unaffected from 6.1.78 up to and including 6.1.* unaffected from 6.6.17 up to and including 6.6.* unaffected from 6.7.5 up to and including 6.7.* unaffected 6.8 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-2024-26600 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-26600
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-2024-26600
trivy image --scanners vuln IMAGE | grep CVE-2024-26600
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/486218c11e8d1c8f515a3bdd70d62203609d4b6b git.kernel.org
- https://git.kernel.org/stable/c/8398d8d735ee93a04fb9e9f490e8cacd737e3bf5 git.kernel.org
- https://git.kernel.org/stable/c/be3b82e4871ba00e9b5d0ede92d396d579d7b3b3 git.kernel.org
- https://git.kernel.org/stable/c/8cc889b9dea0579726be9520fcc766077890b462 git.kernel.org
- https://git.kernel.org/stable/c/0430bfcd46657d9116a26cd377f112cbc40826a4 git.kernel.org
- https://git.kernel.org/stable/c/14ef61594a5a286ae0d493b8acbf9eac46fd04c4 git.kernel.org
- https://git.kernel.org/stable/c/396e17af6761b3cc9e6e4ca94b4de7f642bfece1 git.kernel.org
- https://git.kernel.org/stable/c/7104ba0f1958adb250319e68a15eff89ec4fd36d git.kernel.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html lists.debian.org
Source: the record CVE-2024-26600 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