Skip to content
FlawDB
Sign in

CVE-2026-139646

UNSCORED

crypto: ccp - fix SFS ioctl race against device teardown

AI summary AI generated

An attacker who can trigger the SFS ioctl during device teardown can race it to use freed command buffers in the Linux kernel's AMD CCP driver.

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 648dbccc03a000cd64c2a9d86012d98053545e64, < 54a7e3828df45fdb85ea5a1e79a94d4e95b78823; >= 648dbccc03a000cd64c2a9d86012d98053545e64, < 6beb23aa2ec4c64f477d1c8e419c7e7da7046f26; >= 648dbccc03a000cd64c2a9d86012d98053545e64, < de4929b47683ed22d8c05f68d2d0f0cfd95b90a1
  • Anyone running Linux 6.18

Vulnerability facts

Affected
Linux >= 648dbccc03a000cd64c2a9d86012d98053545e64, < 54a7e3828df45fdb85ea5a1e79a94d4e95b78823; >= 648dbccc03a000cd64c2a9d86012d98053545e64, < 6beb23aa2ec4c64f477d1c8e419c7e7da7046f26; >= 648dbccc03a000cd64c2a9d86012d98053545e64, < de4929b47683ed22d8c05f68d2d0f0cfd95b90a1; Linux 6.18
Fixed in
Linux 54a7e3828df45fdb85ea5a1e79a94d4e95b78823, Linux 6beb23aa2ec4c64f477d1c8e419c7e7da7046f26
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: crypto: ccp - fix SFS ioctl race against device teardown sfs_ioctl() reads psp_master->sfs_data and caches it in sfs_dev before taking sfs_ioctl_mutex, while sfs_dev_destroy() frees sfs_dev->page and sfs_dev->command_buf with no locking at all and only clears psp->sfs_data afterwards. A call to sfs_ioctl() that reads sfs_data just before sfs_dev_destroy() runs will still acquire the mutex and go on to use the now-freed command buffer in send_sfs_cmd(). Have both functions take sfs_ioctl_mutex before touching psp->sfs_data, so a call that is already using sfs_dev completes before teardown can free it, and a call arriving after teardown sees sfs_data cleared and returns -ENODEV instead of racing it.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 648dbccc03a000cd64c2a9d86012d98053545e64, < 54a7e3828df45fdb85ea5a1e79a94d4e95b78823; >= 648dbccc03a000cd64c2a9d86012d98053545e64, < 6beb23aa2ec4c64f477d1c8e419c7e7da7046f26; >= 648dbccc03a000cd64c2a9d86012d98053545e64, < de4929b47683ed22d8c05f68d2d0f0cfd95b90a1—cvelist
Linux6.18—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-139646. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-139646.md
Affected: Linux >= 648dbccc03a000cd64c2a9d86012d98053545e64, < 54a7e3828df45fdb85ea5a1e79a94d4e95b78823; >= 648dbccc03a000cd64c2a9d86012d98053545e64, < 6beb23aa2ec4c64f477d1c8e419c7e7da7046f26; >= 648dbccc03a000cd64c2a9d86012d98053545e64, < de4929b47683ed22d8c05f68d2d0f0cfd95b90a1; Linux 6.18
Fixed in: Linux 54a7e3828df45fdb85ea5a1e79a94d4e95b78823, Linux 6beb23aa2ec4c64f477d1c8e419c7e7da7046f26

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

Technologies

References

FAQ

Is CVE-2026-139646 being exploited?

There is no confirmed exploitation: CVE-2026-139646 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

How serious is CVE-2026-139646?

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2026-139646?

Linux >= 648dbccc03a000cd64c2a9d86012d98053545e64, < 54a7e3828df45fdb85ea5a1e79a94d4e95b78823; >= 648dbccc03a000cd64c2a9d86012d98053545e64, < 6beb23aa2ec4c64f477d1c8e419c7e7da7046f26; >= 648dbccc03a000cd64c2a9d86012d98053545e64, < de4929b47683ed22d8c05f68d2d0f0cfd95b90a1; Linux 6.18.

Is there a fix for CVE-2026-139646?

Yes. Fixed in Linux 54a7e3828df45fdb85ea5a1e79a94d4e95b78823, Linux 6beb23aa2ec4c64f477d1c8e419c7e7da7046f26. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2026-139646?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

See all
Vulnerabilities, newest first
SeverityIdentifier / vulnerabilityTechnologySignalsAge
MEDIUM 6.5CVE-2026-140063

Glib2: authenticated dos via pre-emptive 128mib read-buffer allocation in gdbusworker

Linux kernel+1
MEDIUM 5.1CVE-2026-140038

Binutils: gprofng uses predictable /tmp directory with unchecked mkdir() enabling symlink-based file clobber

Linux kernel+1
HIGH 7.3CVE-2026-139801

KVM: nSVM: Check validity of vmcs01 save area copied from SMRAM on RSM

Linux kernel
UNSCOREDCVE-2026-139800

9p/xen: drain response work after unbinding IRQ

Linux kernel
HIGH 7.0CVE-2026-139799

mm/shmem: hold off eviction in shmem_writeout()

Linux kernel
Sponsors