CVE-2022-49450
published medium CVSS 3.1 · 5.5rxrpc: Fix listen() setting the bar too high for the prealloc rings
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux00e907127e6f86d0f9b122d9b4347a8aa09a8b61 to < 61fb38cfbb1d54d3dafd0c25752f684b3cd00b32 · 00e907127e6f86d0f9b122d9b4347a8aa09a8b61 to < 616f76498d5ddf26b997caf64a95cda3c8a55533 · 00e907127e6f86d0f9b122d9b4347a8aa09a8b61 to < 4a3a78b7918bdd723d8c7c9786522ca969bffcc4 · 00e907127e6f86d0f9b122d9b4347a8aa09a8b61 to < 91b34bf0409f43bb60453bab23c5beadd726d022 · 00e907127e6f86d0f9b122d9b4347a8aa09a8b61 to < 5b4826657d36c218e9f08e8d3223b0edce3de88f · 00e907127e6f86d0f9b122d9b4347a8aa09a8b61 to < b3a9b227d5e7467b8518160ff034ea22bb9de573 · 00e907127e6f86d0f9b122d9b4347a8aa09a8b61 to < 369de57492c4f1a42563c5a3bd365822ca3bfc79 · 00e907127e6f86d0f9b122d9b4347a8aa09a8b61 to < e198f1930050e3115c80b67d9249f80f98a27c67 · 00e907127e6f86d0f9b122d9b4347a8aa09a8b61 to < 88e22159750b0d55793302eeed8ee603f5c1a95c · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.9 (affected) · 0 to < 4.9 (unaffected · semver) · 4.9.318 through 4.9.* (unaffected · semver) · 4.14.283 through 4.14.* (unaffected · semver) · 4.19.247 through 4.19.* (unaffected · semver) · 5.4.198 through 5.4.* (unaffected · semver) · 5.10.121 through 5.10.* (unaffected · semver) · 5.15.46 through 5.15.* (unaffected · semver) · 5.17.14 through 5.17.* (unaffected · semver) · 5.18.3 through 5.18.* (unaffected · semver) · 5.19 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluationALAS2-2022-1813 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2022-015 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2022-002 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2022-028 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | kernelaarch64 | Listed in advisory | Not stated | ALAS2-2022-1813 |
| Amazon Linux | AL2 | kernelaarch64 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2022-015 |
Show 15 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | kernelaarch64 | Listed in advisory | Not stated | ALAS2KERNEL-5.15-2022-002 |
| Amazon Linux | AL2 | kernelaarch64 | Listed in advisory | Not stated | ALAS2KERNEL-5.4-2022-028 |
| Amazon Linux | AL2 | kerneli686 | Listed in advisory | Not stated | ALAS2-2022-1813 |
| Amazon Linux | AL2 | kerneli686 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2022-015 |
| Amazon Linux | AL2 | kerneli686 | Listed in advisory | Not stated | ALAS2KERNEL-5.15-2022-002 |
| Amazon Linux | AL2 | kerneli686 | Listed in advisory | Not stated | ALAS2KERNEL-5.4-2022-028 |
| Amazon Linux | AL2 | kernelsrc | Listed in advisory | Not stated | ALAS2-2022-1813 |
| Amazon Linux | AL2 | kernelsrc | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2022-015 |
| Amazon Linux | AL2 | kernelsrc | Listed in advisory | Not stated | ALAS2KERNEL-5.15-2022-002 |
| Amazon Linux | AL2 | kernelsrc | Listed in advisory | Not stated | ALAS2KERNEL-5.4-2022-028 |
| Amazon Linux | AL2 | kernelx86_64 | Listed in advisory | Not stated | ALAS2-2022-1813 |
| Amazon Linux | AL2 | kernelx86_64 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2022-015 |
| Amazon Linux | AL2 | kernelx86_64 | Listed in advisory | Not stated | ALAS2KERNEL-5.15-2022-002 |
| Amazon Linux | AL2 | kernelx86_64 | Listed in advisory | Not stated | ALAS2KERNEL-5.4-2022-028 |
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
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.5 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 00e907127e6f86d0f9b122d9b4347a8aa09a8b61 to < 61fb38cfbb1d54d3dafd0c25752f684b3cd00b32 (affected · git)00e907127e6f86d0f9b122d9b4347a8aa09a8b61 to < 616f76498d5ddf26b997caf64a95cda3c8a55533 (affected · git)00e907127e6f86d0f9b122d9b4347a8aa09a8b61 to < 4a3a78b7918bdd723d8c7c9786522ca969bffcc4 (affected · git)00e907127e6f86d0f9b122d9b4347a8aa09a8b61 to < 91b34bf0409f43bb60453bab23c5beadd726d022 (affected · git)00e907127e6f86d0f9b122d9b4347a8aa09a8b61 to < 5b4826657d36c218e9f08e8d3223b0edce3de88f (affected · git)00e907127e6f86d0f9b122d9b4347a8aa09a8b61 to < b3a9b227d5e7467b8518160ff034ea22bb9de573 (affected · git)00e907127e6f86d0f9b122d9b4347a8aa09a8b61 to < 369de57492c4f1a42563c5a3bd365822ca3bfc79 (affected · git)00e907127e6f86d0f9b122d9b4347a8aa09a8b61 to < e198f1930050e3115c80b67d9249f80f98a27c67 (affected · git)00e907127e6f86d0f9b122d9b4347a8aa09a8b61 to < 88e22159750b0d55793302eeed8ee603f5c1a95c (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.9 (affected)0 to < 4.9 (unaffected · semver)4.9.318 through 4.9.* (unaffected · semver)4.14.283 through 4.14.* (unaffected · semver)4.19.247 through 4.19.* (unaffected · semver)5.4.198 through 5.4.* (unaffected · semver)5.10.121 through 5.10.* (unaffected · semver)5.15.46 through 5.15.* (unaffected · semver)5.17.14 through 5.17.* (unaffected · semver)5.18.3 through 5.18.* (unaffected · semver)5.19 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-476 CWE-476 NULL Pointer Dereference
References
9- https://git.kernel.org/stable/c/369de57492c4f1a42563c5a3bd365822ca3bfc79
- https://git.kernel.org/stable/c/4a3a78b7918bdd723d8c7c9786522ca969bffcc4
- https://git.kernel.org/stable/c/5b4826657d36c218e9f08e8d3223b0edce3de88f
- https://git.kernel.org/stable/c/616f76498d5ddf26b997caf64a95cda3c8a55533
- https://git.kernel.org/stable/c/61fb38cfbb1d54d3dafd0c25752f684b3cd00b32
- https://git.kernel.org/stable/c/88e22159750b0d55793302eeed8ee603f5c1a95c
- https://git.kernel.org/stable/c/91b34bf0409f43bb60453bab23c5beadd726d022
- https://git.kernel.org/stable/c/b3a9b227d5e7467b8518160ff034ea22bb9de573
- https://git.kernel.org/stable/c/e198f1930050e3115c80b67d9249f80f98a27c67
Provider assertions
2Linux · cna
rxrpc: Fix listen() setting the bar too high for the prealloc rings
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4a59ce9bc44ce6c9442aa6a61af8b1d3af2e54cadfb5472e904baaf08e940f02
- Ingested
- 23 Sep 2026, 08:04:12 UTC
- Source record
- Official CVE record