nvme-tcp: fix usage of page_frag_cache
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.7, Kernel 0a9750263ffacbbd2048a391fd4bd22e2146c57d, Kernel 36ac05f7cfd59d90c597071304b14e98090d5dd1 and 7 more.
In the Linux kernel, the following vulnerability has been resolved: nvme-tcp: fix usage of page_frag_cache nvme uses page_frag_cache to preallocate PDU for each preallocated request of block device. Block devices are created in parallel threads, consequently page_frag_cache is used in not thread-safe manner. That leads to incorrect refcounting of backstore pages and premature free. That can be catched by !sendpage_ok inside network stack: WARNING: CPU: 7 PID: 467 at ../net/core/skbuff.c:6931 skb_splice_from_iter+0xfa/0x310. tcp_sendmsg_locked+0x782/0xce0 tcp_sendmsg+0x27/0x40 sock_sendmsg+0x8b/0xa0 nvme_tcp_try_send_cmd_pdu+0x149/0x2a0 Then random panic may occur. Fix that by serializing the usage of page_frag_cache.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=6.6.160 <6.7, >=4e893ca8117022de68ce1b61c0309e3d17bb8a25 <0a9750263ffacbbd2048a391fd4bd22e2146c57d, >=4e893ca8117022de68ce1b61c0309e3d17bb8a25 <36ac05f7cfd59d90c597071304b14e98090d5dd1, >=4e893ca8117022de68ce1b61c0309e3d17bb8a25 <64561afb42d8390695bf810d9bbd087cbca00291, >=4e893ca8117022de68ce1b61c0309e3d17bb8a25 <6e4cf281558709b92ec2ca3054fe2ffc69266ef9, >=4e893ca8117022de68ce1b61c0309e3d17bb8a25 <d19f98c79f1b7e09e4cdf5c20d626e571e487467, =6.12, =c57506918b078ecab7dedebef0f34dbc23ae2e46 | 6.7, 0a9750263ffacbbd2048a391fd4bd22e2146c57d, 36ac05f7cfd59d90c597071304b14e98090d5dd1, 64561afb42d8390695bf810d9bbd087cbca00291, 6e4cf281558709b92ec2ca3054fe2ffc69266ef9, d19f98c79f1b7e09e4cdf5c20d626e571e487467 |
| linux-kernel: Kernel | >=6.13.0 <6.18.49, >=6.19.0 <7.1.13, >=6.6.160 <6.7, >=7.2.0 <7.2.3, >=6.12.0 <6.12.108 | 6.18.49, 7.1.13, 6.7, 7.2.3, 6.12.108 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket