Skip to main content
VulnerabilityPublished

CVE-2026-143302: Linux kernel · vhost-scsi: do not count PI bytes in the data length

Affects Linux kernelSource CVE Database V5

0
Compare

Not known to be exploited · fixed in c4e6a85413f76a2152679567c59aef5168ea9d09 : update Linux kernel when convenient.

Data as of 3 Dec 2026, 09:45 UTC

Severity
Unrated

Rated by Threat Radar · CVSS not yet scored by NVD

Thin evidence

One scorer or none
Patch
Available – fixed in c4e6a85413f76a2152679567c59aef5168ea9d09, 54d08cd013c1777bccb43c1c27a81c51f39b3ef5, 1f5bc40e33d8b3e5e3b89047956099b0c19f1d3d

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 3 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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 3 Dec 2026.

What to do

Upgrade Linux kernel to c4e6a85413f76a2152679567c59aef5168ea9d09, 54d08cd013c1777bccb43c1c27a81c51f39b3ef5 or 1f5bc40e33d8b3e5e3b89047956099b0c19f1d3d.

Affected software

ProductAffectedFixed in
LinuxLinuxAffected
  • ≥ 9f977ef7b671f6169eca78bf40f230fe84b7c7e5, < c4e6a85413f76a2152679567c59aef5168ea9d09
Fixed in
  • c4e6a85413f76a2152679567c59aef5168ea9d09
LinuxLinuxAffected
  • ≥ 9f977ef7b671f6169eca78bf40f230fe84b7c7e5, < 54d08cd013c1777bccb43c1c27a81c51f39b3ef5
Fixed in
  • 54d08cd013c1777bccb43c1c27a81c51f39b3ef5
LinuxLinuxAffected
  • ≥ 9f977ef7b671f6169eca78bf40f230fe84b7c7e5, < 1f5bc40e33d8b3e5e3b89047956099b0c19f1d3d
Fixed in
  • 1f5bc40e33d8b3e5e3b89047956099b0c19f1d3d
LinuxLinuxAffected
  • =3.16
Fixed in–

Description

In the Linux kernel, the following vulnerability has been resolved: vhost-scsi: do not count PI bytes in the data length vhost_scsi_handle_vq() moves pi_bytesout or pi_bytesin into the protection sgl and subtracts those bytes from exp_data_len. The length passed to TCM is still exp_data_len + prot_bytes. prot_bytes comes from virtio_scsi_cmd_req_pi. With VIRTIO_SCSI_F_T10_PI negotiated, vhost reads that header and does not check that the CDB is a READ or WRITE. sbc_check_prot() replaces data_length from the CDB only when the protect field is non-zero. target_cmd_size_check() leaves a write's data_length unchanged when the CDB size is smaller, so a command that does not get that replacement keeps a data_length larger than the data sgl. The KASAN report is a MODE SELECT whose header had pi_bytesout set. The data sgl held only the parameter list. spc_emulate_modeselect() walked data_length and read the next physical page. Pass the data sgl length. Protected READ and WRITE still take their length from the CDB in sbc_check_prot(). KASAN reports: BUG: KASAN: use-after-free in spc_emulate_modeselect+0x145/0x380 [target_core_mod] Read of size 1 spc_emulate_modeselect __target_execute_cmd target_execute_cmd vhost_scsi_write_pending transport_generic_new_cmd __target_submit target_queued_submit_work process_one_work worker_thread kthread ret_from_fork ret_from_fork_asm

References

Community reviews

Loading reviews…