CVE-2024-26996: Linux kernel · usb: gadget: f_ncm: Fix UAF ncm object at re-bind after usb ep transport error
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 7.8 High · fixed in 4.4.0-1143.149 : patch Linux kernel soon.
Data as of 12 Nov 2026, 18:53 UTC
- Patch
- Available – fixed in 4.4.0-1143.149, 4.15.0-1188.203~14.04.1, 4.4.0-268.302~14.04.1 +89
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 1 May 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 12 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
- ubuntu.com/security/notices/USN-6893-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6898-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6893-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6898-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6898-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-6893-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-6898-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-6917-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6919-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6918-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6927-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7019-1 (opens in a new tab)
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSlinuxpkg:deb/ubuntu/linux?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-gcppkg:deb/ubuntu/linux-gcp?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-gkepkg:deb/ubuntu/linux-gke?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-ibmpkg:deb/ubuntu/linux-ibm?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available and should be applied by updating to the fixed Linux kernel versions listed in the vendor advisories. The patch ensures proper cleanup of USB port associations during error conditions to prevent use-after-free. Users should apply the updates from the provided Ubuntu security notices to remediate this vulnerability.
Description
CVE-2024-26996 is a use-after-free vulnerability in the Linux kernel's USB gadget NCM (Network Control Model) function. It occurs when a USB endpoint transport error happens during re-binding after the usb0 interface is stopped, leading to a released NCM object being dereferenced. This can cause kernel memory corruption and potentially a system crash. The issue is fixed by ensuring proper disassociation of USB ports during disable operations.
References
- ubuntu.com/security/CVE-2024-26996 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-26996 (opens in a new tab)
- git.kernel.org/linus/6334b8e4553cc69f51e383c9de545082213d785e (opens in a new tab)
- git.kernel.org/stable/c/7f67c2020cb08499c400abf0fc32c65e4d9a09ca (opens in a new tab)
- git.kernel.org/stable/c/0588bbbd718a8130b98c54518f1e0b569ce60a93 (opens in a new tab)
- git.kernel.org/stable/c/f356fd0cbd9c9cbd0854657a80d1608d0d732db3 (opens in a new tab)
- git.kernel.org/stable/c/7250326cbb1f4f90391ac511a126b936cefb5bb7 (opens in a new tab)
- git.kernel.org/stable/c/6334b8e4553cc69f51e383c9de545082213d785e (opens in a new tab)
- ubuntu.com/security/notices/USN-6893-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6898-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6893-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6898-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6898-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-6893-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-6898-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-6917-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6919-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6918-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6927-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7019-1 (opens in a new tab)