AZL-118535: CVE-2026-143302 affecting package kernel 6.6.161.1-1

Published Dec 3, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

vhost-scsi: do not count PI bytes in the data length

vhostscsihandlevq() moves pibytesout or pibytesin into the protection sgl and subtracts those bytes from expdatalen. The length passed to TCM is still expdatalen + protbytes.

protbytes comes from virtioscsicmdreqpi. With VIRTIOSCSIFT10PI negotiated, vhost reads that header and does not check that the CDB is a READ or WRITE. sbccheckprot() replaces datalength from the CDB only when the protect field is non-zero. targetcmdsizecheck() leaves a write's datalength unchanged when the CDB size is smaller, so a command that does not get that replacement keeps a datalength larger than the data sgl.

The KASAN report is a MODE SELECT whose header had pibytesout set. The data sgl held only the parameter list. spcemulatemodeselect() walked datalength and read the next physical page.

Pass the data sgl length. Protected READ and WRITE still take their length from the CDB in sbccheckprot().

KASAN reports:

BUG: KASAN: use-after-free in spcemulatemodeselect+0x145/0x380 [targetcoremod] Read of size 1

spcemulatemodeselect targetexecutecmd targetexecutecmd vhostscsiwritepending transportgenericnewcmd targetsubmit targetqueuedsubmitwork processonework workerthread kthread retfromfork retfromforkasm

Affected Software

1 affected component
azure-linux/kernel<=6.6.161.1-1

Event History

Dec 3, 2026
Advisory Published
via OSV·10:18 AM
Data Sourced
via OSV·10:18 AM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Which deployments are exposed to this issue?

The issue is relevant to vhost-scsi deployments that negotiate the VIRTIO_SCSI_F_T10_PI feature. The vulnerable path involves protection-information handling between vhost-scsi and the kernel target subsystem.

2

What does an attacker need to do to trigger the flaw?

They need to submit a command through vhost-scsi with protection-information byte counts set in the virtio-scsi request header. The reported trigger was a MODE SELECT command with pi_bytesout set, causing the target code to use a length larger than the actual data scatter-gather list.

3

What is the observed impact?

KASAN reported a use-after-free read in spc_emulate_modeselect() in target_core_mod. The out-of-bounds length handling can cause the command emulation code to read into the next physical page.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203