CVE-2026-139642
CVE-2026-139642 — swim: Fix buffer overflow
In the Linux kernel, the following vulnerability has been resolved: swim: Fix buffer overflow The effect of this bug can be observed as swim_read_sector_data() inexplicably returning -5, or an error flag indicating that a mark byte was read from the data register, or other odd behviour. When copying bytes from the chip FIFO to the read buffer, the driver keeps count of the remaining buffer space using register %d4. A counter in register %d2 serves as a timeout. The driver polls (%a2), the handshake register, until flags indicate that byte(s) have arrived in the FIFO. movel #sector_size-1, %d4 read_new_data: movew #max_retry, %d2 read_data_loop: moveb %a2@, %d5 andb #0xc0, %d5 dbne %d2, read_data_loop beq data_exit moveb %a5@, %a4@+ andb #0x40, %d5 dbne %d4, read_new_data beq exit_loop Note that the exit_loop branch depends upon a flag in the handshake register and not on the remaining buffer space. Hence there may be no branch to exit_loop after %d4 is decremented to -1 (i.e. full buffer). moveb %a5@, %a4@+ dbra %d4, read_new_data exit_loop: Here is a second decrement of %d4 which can now reach -2. But the buffer bounds check is a comparison with -1, which is now ineffective. Hence the loop will continue copying until %d2 eventually reaches -1. Fix this bug by terminating the loop as soon as %d4 or %d2 reach -1. Reset the timeout whenever a byte is copied.
Published Updated Sources: NVD, Linux (CNA), GitHub, GitHub Security Advisory
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
n/a
FIRST has not published a score
CVSS base
Unscored
no source published a base score
Remediation
The vendor's own words where we have them.
Upgrade Linux to a fixed release (0 to < 2.6.30). Apply vendor patches per advisory and restrict external exposure of the affected component until patched.
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Prioritize based on EPSS, PoC availability, and external exposure.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Linux | Linux | 8852ecd97488249ca7fe2c0d3eb44cae95886881 | Vulnerable |
| Linux | Linux | 8852ecd97488249ca7fe2c0d3eb44cae95886881 | Vulnerable |
| Linux | Linux | 8852ecd97488249ca7fe2c0d3eb44cae95886881 to < 382147d4bf4fc371ae1c9beb892dfd6aacabc6b4 | Vulnerable |
| Linux | Linux | 8852ecd97488249ca7fe2c0d3eb44cae95886881 to < 504285224519be0f39e01da9fbabfc8d69b60871 | Vulnerable |
| Linux | Linux | 8852ecd97488249ca7fe2c0d3eb44cae95886881 to < 29381bf1af7faf118cbb90b2a00e7fef7992417d | Vulnerable |
| Linux | Linux | 8852ecd97488249ca7fe2c0d3eb44cae95886881 | Vulnerable |
| Linux | Linux | 8852ecd97488249ca7fe2c0d3eb44cae95886881 to < 759e236477c30e75653dc050f18ab3d1c5127c9c | Vulnerable |
| Linux | Linux | 8852ecd97488249ca7fe2c0d3eb44cae95886881 | Vulnerable |
| Linux | Linux | 2.6.30 | Vulnerable |
| Linux | Linux | 0 to < 2.6.30 | Patched |
| Linux | Linux | 5.10.275 to <= 5.10.* | Patched |
| Linux | Linux | 5.15.226 to <= 5.15.* | Patched |
Weakness & attack patterns
Inferred from the weakness class — not observed against this CVE.
Timeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Initial · CVE published
Nov 30, 2026 · NVD
Added · GHSA-g3v3-jgp3-j5w4 published (unknown)
Nov 30, 2026 · GitHub Security Advisory
References
10 on the record
- git.kernel.org/stable/c/29381bf1af7faf118cbb90b2a00e7fef7992417d
Vendor Advisory
- git.kernel.org/stable/c/382147d4bf4fc371ae1c9beb892dfd6aacabc6b4
Vendor Advisory
- git.kernel.org/stable/c/504285224519be0f39e01da9fbabfc8d69b60871
Vendor Advisory
- git.kernel.org/stable/c/759e236477c30e75653dc050f18ab3d1c5127c9c
Vendor Advisory
- git.kernel.org/stable/c/a54870a4ae4962acf341eb6ca010cae02af1a6ea
Vendor Advisory
- git.kernel.org/stable/c/b2f91fb5087c49828ea61da2f95263a1ff14872c
Vendor Advisory
- git.kernel.org/stable/c/ec567485ac9f46d2cfaa0c444a3ddd03be8836e5
Vendor Advisory
- git.kernel.org/stable/c/f7c4e7e402fc2b4b74679119a8ad42ea28b3cdff
Vendor Advisory
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2025-39682 tls: fix handling of zero-length records on the rx_listCVSS 9.8 · CISA KEV
- CVE-2016-3427 Oracle Java SE and JRockit Unspecified VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2026-53266 netfilter: bridge: make ebt_snat ARP rewrite writableCVSS 8.8 · CISA KEV
- CVE-2026-46300 net: skbuff: preserve shared-frag marker during coalescingCVSS 7.8 · CISA KEV
- CVE-2026-31431 crypto: algif_aead - Revert to operating out-of-placeCVSS 7.8 · CISA KEV
- CVE-2014-3153 Linux Kernel Privilege Escalation VulnerabilityCVSS 7.8 · CISA KEV
Elsewhere on this site
- Linuxevery CVE for this vendor
- Memory Corruptionsame class
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2026-139642 is swim: Fix buffer overflow, a unscored vulnerability affecting Linux from Linux. The current evidence does not list it in CISA KEV, and the exploit status is: Active exploitation is not confirmed from current sources for CVE-2026-139642. Public exploit evidence is: A public PoC is not confirmed from current sources for CVE-2026-139642. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS null describes technical severity, while EPSS 0% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.