{"id":"AZL-117211","summary":"CVE-2026-139543 affecting package kernel 6.6.161.1-1","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: scsi_debug: Avoid 32-bit overflow in WRITE SCATTERED offsets\n\nresp_write_scat() computes the length of an LBA range in bytes as a 32-bit\nproduct, num_by = num * lb_size, and adds it to sg_off, the 32-bit offset\nof the next range in the data-out buffer. The product wraps for a range of\n4 GiB or more, which check_device_access_params() allows once the store is\nthat large, and sg_off wraps once the ranges add up to 4 GiB, which neither\ntheir number nor their overlap prevents.  The ranges that follow are then\nwritten from the wrong offset in the buffer.\n\nMake num_by and sg_off 64-bit, and pass do_device_access() sg_off capped at\nthe length of the buffer. An offset at the end of the buffer copies\nnothing, and sg_copy_buffer(), which takes it as an off_t, is never given\none larger than the buffer that it copies.","modified":"2026-12-01T14:17:41.682583732Z","published":"2026-11-30T14:19:31Z","upstream":["CVE-2026-139543"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139543"}],"affected":[{"package":{"name":"kernel","ecosystem":"Azure Linux:3","purl":"pkg:rpm/azure-linux/kernel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"6.6.161.1-1"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-117211.json"}}],"schema_version":"1.9.2"}