ublk: validate auto buf reg before taking uring_cmd
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 653d22269a8b83b491f7f186a5d7872f14e6ddca, Kernel 8397942b67128e0b1275cfedb5abf4faafac5fd0 and Kernel ca5a01eee34c7cbe0f531a613b0292a3ad1a419b.
In the Linux kernel, the following vulnerability has been resolved: ublk: validate auto buf reg before taking uring_cmd With UBLK_F_AUTO_BUF_REG, invalid sqe->addr can fail after ublk_fill_io_cmd() has set UBLK_IO_FLAG_ACTIVE. The uring_cmd is completed while the tag stays active, which can hang teardown. Split validation from buffer apply so the check has no side effects, then take the uring_cmd and store the already-validated buffer. Apply the same order in FETCH so io->buf is not written before __ublk_fetch() state checks.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.17, >=52460dda3a775a73f226312b43c0a0211e8665ea <653d22269a8b83b491f7f186a5d7872f14e6ddca, >=52460dda3a775a73f226312b43c0a0211e8665ea <8397942b67128e0b1275cfedb5abf4faafac5fd0, >=52460dda3a775a73f226312b43c0a0211e8665ea <ca5a01eee34c7cbe0f531a613b0292a3ad1a419b | 653d22269a8b83b491f7f186a5d7872f14e6ddca, 8397942b67128e0b1275cfedb5abf4faafac5fd0, ca5a01eee34c7cbe0f531a613b0292a3ad1a419b |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket