Security mailing lists by PureSourceCode

CVE-2026-139646

not scored yet

crypto: ccp - fix SFS ioctl race against device teardown

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.

Published
30 Nov 2026
Last modified
30 Nov 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Received
Sources
NVDJSONCVE ListJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List Linux Linux >= 648dbccc03a000cd64c2a9d86012d98053545e64, < 54a7e3828df45fdb85ea5a1e79a94d4e95b78823; >= 648dbccc03a000cd64c2a9d86012d98053545e64, < 6beb23aa2ec4c64f477d1c8e419c7e7da7046f26; >= 648dbccc03a000cd64c2a9d86012d98053545e64, < de4929b47683ed22d8c05f68d2d0f0cfd95b90a1 54a7e3828df45fdb85ea5a1e79a94d4e95b78823, 6beb23aa2ec4c64f477d1c8e419c7e7da7046f26, de4929b47683ed22d8c05f68d2d0f0cfd95b90a1
CVE List Linux Linux = 6.18

References

History

  • 30 Nov 2026 14:45 UTC · NVD: first stored (published 30 Nov 2026)
  • 30 Nov 2026 13:58 UTC · CVE List: first stored (published 30 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.