# CVE-2022-49450: linux: In the Linux kernel, the following vulnerability has been resolved:  rxrpc: Fix listen() setting the bar too high for...

CVE-2022-49450 is fixed in linux on 1 platform, first by DEBIAN-CVE-2022-49450, released February 26, 2025. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2022-49450
- Priority: Routine
- CVSS: 5.5 (medium)
- EPSS: 0.0029
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Feb 26, 2025

## Description

In the Linux kernel, the following vulnerability has been resolved:  rxrpc: Fix listen() setting the bar too high for the prealloc rings  AF_RXRPC's listen() handler lets you set the backlog up to 32 (if you bump up the sysctl), but whilst the preallocation circular buffers have 32 slots in them, one of them has to be a dead slot because we're using CIRC_CNT().  This means that listen(rxrpc_sock, 32) will cause an oops when the socket is closed because rxrpc_service_prealloc_one() allocated one too many calls and rxrpc_discard_prealloc() won't then be able to get rid of them because it'll think the ring is empty.  rxrpc_release_calls_on_socket() then tries to abort them, but oopses because call->peer isn't yet set.  Fix this by setting the maximum backlog to RXRPC_BACKLOG_MAX - 1 to match the ring capacity.   BUG: kernel NULL pointer dereference, address: 0000000000000086  ...  RIP: 0010:rxrpc_send_abort_packet+0x73/0x240 [rxrpc]  Call Trace:   <TASK>   ? __wake_up_common_lock+0x7a/0x90   ? rxrpc_notify_socket+0x8e/0x140 [rxrpc]   ? rxrpc_abort_call+0x4c/0x60 [rxrpc]   rxrpc_release_calls_on_socket+0x107/0x1a0 [rxrpc]   rxrpc_release+0xc9/0x1c0 [rxrpc]   __sock_release+0x37/0xa0   sock_close+0x11/0x20   __fput+0x89/0x240   task_work_run+0x59/0x90   do_exit+0x319/0xaa0

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | linux Debian 12.15 (bookworm) | 5.18.5-1 | [DEBIAN-CVE-2022-49450](https://patchblox.com/security/data/fix/linux/debian-cve-2022-49450.md) | Feb 26, 2025 |
| Linux | linux Debian 13.5 (trixie) | 5.18.5-1 | [DEBIAN-CVE-2022-49450](https://patchblox.com/security/data/fix/linux/debian-cve-2022-49450.md) | Feb 26, 2025 |
| Linux | linux Debian 14 | 5.18.5-1 | [DEBIAN-CVE-2022-49450](https://patchblox.com/security/data/fix/linux/debian-cve-2022-49450.md) | Feb 26, 2025 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
