# CVE-2022-49450: rxrpc: Fix listen() setting the bar too high for the prealloc rings

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2025-02-26T02:13:00.379Z
- **Modified:** 2026-06-17T05:18:05.190Z

## Who should check

- Anyone running Linux \>= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, \< 61fb38cfbb1d54d3dafd0c25752f684b3cd00b32; \>= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, \< 616f76498d5ddf26b997caf64a95cda3c8a55533; \>= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, \< 4a3a78b7918bdd723d8c7c9786522ca969bffcc4; \>= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, \< 91b34bf0409f43bb60453bab23c5beadd726d022; \>= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, \< 5b4826657d36c218e9f08e8d3223b0edce3de88f; \>= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, \< b3a9b227d5e7467b8518160ff034ea22bb9de573; \>= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, \< 369de57492c4f1a42563c5a3bd365822ca3bfc79; \>= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, \< e198f1930050e3115c80b67d9249f80f98a27c67; \>= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, \< 88e22159750b0d55793302eeed8ee603f5c1a95c
- Anyone running Linux 4.9

## 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

## Affected and fixed versions

- Linux: \>= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, \< 61fb38cfbb1d54d3dafd0c25752f684b3cd00b32; \>= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, \< 616f76498d5ddf26b997caf64a95cda3c8a55533; \>= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, \< 4a3a78b7918bdd723d8c7c9786522ca969bffcc4; \>= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, \< 91b34bf0409f43bb60453bab23c5beadd726d022; \>= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, \< 5b4826657d36c218e9f08e8d3223b0edce3de88f; \>= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, \< b3a9b227d5e7467b8518160ff034ea22bb9de573; \>= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, \< 369de57492c4f1a42563c5a3bd365822ca3bfc79; \>= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, \< e198f1930050e3115c80b67d9249f80f98a27c67; \>= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, \< 88e22159750b0d55793302eeed8ee603f5c1a95c (cvelist)
- Linux: 4.9 (cvelist)

## Mitigation

- Upgrade Linux to 88e22159750b0d55793302eeed8ee603f5c1a95c or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-49450. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-49450.md
Affected: Linux >= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, < 61fb38cfbb1d54d3dafd0c25752f684b3cd00b32; >= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, < 616f76498d5ddf26b997caf64a95cda3c8a55533; >= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, < 4a3a78b7918bdd723d8c7c9786522ca969bffcc4; >= 00e907127e6f86d0f9b122d…
Fixed in: Linux 61fb38cfbb1d54d3dafd0c25752f684b3cd00b32, Linux 616f76498d5ddf26b997caf64a95cda3c8a55533, Linux 4a3a78b7918bdd723d8c7c9786522ca969bffcc4, Linux 91b34bf0409f43bb60453bab23c5beadd726d022, Linux 5b4826657d36c218e9f08e8d3223b0edce3de88f, Linux 369de57492c4f1a42563c5a3bd365822ca3bfc79, Linux 88e22…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-49450 being exploited?

There is no confirmed exploitation: CVE-2022-49450 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-49450?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-49450?

Linux \>= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, \< 61fb38cfbb1d54d3dafd0c25752f684b3cd00b32; \>= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, \< 616f76498d5ddf26b997caf64a95cda3c8a55533; \>= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, \< 4a3a78b7918bdd723d8c7c9786522ca969bffcc4; \>= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, \< 91b34bf0409f43bb60453bab23c5beadd726d022; \>= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, \< 5b4826657d36c218e9f08e8d3223b0edce3de88f; \>= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, \< b3a9b227d5e7467b8518160ff034ea22bb9de573; \>= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, \< 369de57492c4f1a42563c5a3bd365822ca3bfc79; \>= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, \< e198f1930050e3115c80b67d9249f80f98a27c67; \>= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, \< 88e22159750b0d55793302eeed8ee603f5c1a95c; Linux 4.9.

### Is there a fix for CVE-2022-49450?

Yes. Fixed in Linux 61fb38cfbb1d54d3dafd0c25752f684b3cd00b32, Linux 616f76498d5ddf26b997caf64a95cda3c8a55533, Linux 4a3a78b7918bdd723d8c7c9786522ca969bffcc4, Linux 91b34bf0409f43bb60453bab23c5beadd726d022, Linux 5b4826657d36c218e9f08e8d3223b0edce3de88f, Linux 369de57492c4f1a42563c5a3bd365822ca3bfc79, Linux 88e22159750b0d55793302eeed8ee603f5c1a95c. Upgrade Linux to 88e22159750b0d55793302eeed8ee603f5c1a95c or later.

### How do I check if I'm affected by CVE-2022-49450?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/61fb38cfbb1d54d3dafd0c25752f684b3cd00b32>
- patch: <https://git.kernel.org/stable/c/616f76498d5ddf26b997caf64a95cda3c8a55533>
- patch: <https://git.kernel.org/stable/c/4a3a78b7918bdd723d8c7c9786522ca969bffcc4>
- patch: <https://git.kernel.org/stable/c/91b34bf0409f43bb60453bab23c5beadd726d022>
- patch: <https://git.kernel.org/stable/c/5b4826657d36c218e9f08e8d3223b0edce3de88f>
- patch: <https://git.kernel.org/stable/c/b3a9b227d5e7467b8518160ff034ea22bb9de573>
- patch: <https://git.kernel.org/stable/c/369de57492c4f1a42563c5a3bd365822ca3bfc79>
- patch: <https://git.kernel.org/stable/c/e198f1930050e3115c80b67d9249f80f98a27c67>
- patch: <https://git.kernel.org/stable/c/88e22159750b0d55793302eeed8ee603f5c1a95c>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-49450>

HTML: <https://flawdb.com/CVE-2022-49450> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-49450>
