RDMA/bnxt_re: Clear VM_MAYWRITE on DBR/toggle page mmap
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 9b66c9af7172ffcf727214fa0ebe9a5e1ed6eb16, Kernel 0afbfe019c881483337d9f8304e678af05ebe7cc, Kernel 13e7861809ef9e7e720ff5f0af1d4293a6d0a9b4 and 6 more.
In the Linux kernel, the following vulnerability has been resolved: RDMA/bnxt_re: Clear VM_MAYWRITE on DBR/toggle page mmap bnxt_re_mmap() rejects VM_WRITE for the DBR_PAGE and TOGGLE_PAGE mmap flags, but a read-only mapping can still retain VM_MAYWRITE. nd later be upgraded with mprotect(PROT_WRITE). This can bypass the write check that only runs at mmap time. Clear VM_MAYWRITE before vm_insert_page() in the shared DBR/toggle-page branch, matching the existing policy that userspace writes are not expected for these pages.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=ea222485788208cd79bad42d25aae9232b33a934 <9b66c9af7172ffcf727214fa0ebe9a5e1ed6eb16, >=ea222485788208cd79bad42d25aae9232b33a934 <0afbfe019c881483337d9f8304e678af05ebe7cc, >=ea222485788208cd79bad42d25aae9232b33a934 <13e7861809ef9e7e720ff5f0af1d4293a6d0a9b4, >=ea222485788208cd79bad42d25aae9232b33a934 <518df61b9b0a5b288dfa72c87246045329c18b8c, >=ea222485788208cd79bad42d25aae9232b33a934 <5361fb1e5bc246f9a2c0721543f72c8dac200769, =6.6 | 9b66c9af7172ffcf727214fa0ebe9a5e1ed6eb16, 0afbfe019c881483337d9f8304e678af05ebe7cc, 13e7861809ef9e7e720ff5f0af1d4293a6d0a9b4, 518df61b9b0a5b288dfa72c87246045329c18b8c, 5361fb1e5bc246f9a2c0721543f72c8dac200769 |
| linux-kernel: Kernel | >=6.19.0 <7.2.6, >=6.6.0 <6.6.157, >=6.7.0 <6.12.110, >=6.13.0 <6.18.52 | 7.2.6, 6.6.157, 6.12.110, 6.18.52 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket