nvmet-tcp: add bounds checks in nvmet_tcp_build_pdu_iovec
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel dca1a6ba0da9f472ef040525fab10fd9956db59f, Kernel 0b9981751be14b59b4473383c731c833738aebdb, Kernel 1385be357e8acd09b36e026567f3a9d5c61139de and 10 more.
In the Linux kernel, the following vulnerability has been resolved: nvmet-tcp: add bounds checks in nvmet_tcp_build_pdu_iovec nvmet_tcp_build_pdu_iovec() could walk past cmd->req.sg when a PDU length or offset exceeds sg_cnt and then use bogus sg->length/offset values, leading to _copy_to_iter() GPF/KASAN. Guard sg_idx, remaining entries, and sg->length/offset before building the bvec.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=872d26a391da92ed8f0c0f5cb5fef428067b7f30 <dca1a6ba0da9f472ef040525fab10fd9956db59f, >=872d26a391da92ed8f0c0f5cb5fef428067b7f30 <0b9981751be14b59b4473383c731c833738aebdb, >=872d26a391da92ed8f0c0f5cb5fef428067b7f30 <1385be357e8acd09b36e026567f3a9d5c61139de, >=872d26a391da92ed8f0c0f5cb5fef428067b7f30 <19672ae68d52ff75347ebe2420dde1b07adca09f, >=872d26a391da92ed8f0c0f5cb5fef428067b7f30 <42afe8ed8ad2de9c19457156244ef3e1eca94b5d, >=872d26a391da92ed8f0c0f5cb5fef428067b7f30 <52a0a98549344ca20ad81a4176d68d28e3c05a5c, >=872d26a391da92ed8f0c0f5cb5fef428067b7f30 <ab200d71553bdcf4de554a5985b05b2dd606bc57, =5.0 | dca1a6ba0da9f472ef040525fab10fd9956db59f, 0b9981751be14b59b4473383c731c833738aebdb, 1385be357e8acd09b36e026567f3a9d5c61139de, 19672ae68d52ff75347ebe2420dde1b07adca09f, 42afe8ed8ad2de9c19457156244ef3e1eca94b5d, 52a0a98549344ca20ad81a4176d68d28e3c05a5c, ab200d71553bdcf4de554a5985b05b2dd606bc57 |
| linux-kernel: Kernel | >=5.11.0 <5.15.200, >=5.16.0 <6.1.163, >=6.13.0 <6.18.10, >=6.2.0 <6.6.124, >=6.7.0 <6.12.70, >=5.0.0 <5.10.253 | 5.15.200, 6.1.163, 6.18.10, 6.6.124, 6.12.70, 5.10.253 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket