Skip to main content
CVE Radar
Memory Corruption

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

Affects

Linux

18 products listed

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.

Affected vendors, products and versions
VendorProductVersionsStatus
LinuxLinux8852ecd97488249ca7fe2c0d3eb44cae95886881Vulnerable
LinuxLinux8852ecd97488249ca7fe2c0d3eb44cae95886881Vulnerable
LinuxLinux8852ecd97488249ca7fe2c0d3eb44cae95886881 to < 382147d4bf4fc371ae1c9beb892dfd6aacabc6b4Vulnerable
LinuxLinux8852ecd97488249ca7fe2c0d3eb44cae95886881 to < 504285224519be0f39e01da9fbabfc8d69b60871Vulnerable
LinuxLinux8852ecd97488249ca7fe2c0d3eb44cae95886881 to < 29381bf1af7faf118cbb90b2a00e7fef7992417dVulnerable
LinuxLinux8852ecd97488249ca7fe2c0d3eb44cae95886881Vulnerable
LinuxLinux8852ecd97488249ca7fe2c0d3eb44cae95886881 to < 759e236477c30e75653dc050f18ab3d1c5127c9cVulnerable
LinuxLinux8852ecd97488249ca7fe2c0d3eb44cae95886881Vulnerable
LinuxLinux2.6.30Vulnerable
LinuxLinux0 to < 2.6.30Patched
LinuxLinux5.10.275 to <= 5.10.*Patched
LinuxLinux5.15.226 to <= 5.15.*Patched

Weakness & attack patterns

Inferred from the weakness class — not observed against this CVE.

CAPEC-100 · Overflow BuffersCAPEC-123 · Buffer Manipulation

Timeline

What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.

  1. 2026
  2. Initial · CVE published

    Nov 30, 2026 · NVD

  3. Added · GHSA-g3v3-jgp3-j5w4 published (unknown)

    Nov 30, 2026 · GitHub Security Advisory

References

10 on the record

Related CVEs

Same product first, then the same weakness or threat actor.

Elsewhere on this site

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.