kernel: nfsd buffer overflow by RPC message over TCP with garbage data
Published Nov 4, 2022
7.5
HIGHCVSS 3.1
EPSS 22.29%
Description
The Linux kernel NFSD implementation prior to versions 5.19.17 and 6.0.2 are vulnerable to buffer overflow. NFSD tracks the number of pages held by each NFSD thread by combining the receive and send buffers of a remote procedure call (RPC) into a single array of pages. A client can force the send buffer to shrink by sending an RPC message over TCP with garbage data added at the end of the message. The RPC message with garbage data is still correctly formed according to the specification and is passed forward to handlers. Vulnerable code in NFSD is not expecting the oversized request and writes beyond the allocated buffer space. CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected products
-
- Version < 6.0.2StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Linux | Linux Kernel | n/a |
|
Configuration 1
- < 5.19.17
- ≥ 6.0 · < 6.0.2
Configuration 2
- n/a
Configuration 3
- n/a
Configuration 4
- n/a
Configuration 5
- n/a
Configuration 6
- n/a
Configuration 7
- n/a
No data.
Red Hat Enterprise Linux 8
kernel-0:4.18.0-425.13.1.el8_7
Fixed · RHSA-2023:0832
Red Hat Enterprise Linux 8
kernel-rt-0:4.18.0-425.13.1.rt7.223.el8_7
Fixed · RHSA-2023:0854
Red Hat Enterprise Linux 8
kpatch-patch
Fixed · RHSA-2023:0839
Red Hat Enterprise Linux 9
kernel-0:5.14.0-162.12.1.el9_1
Fixed · RHSA-2023:0334
Red Hat Enterprise Linux 9
kernel-0:5.14.0-162.12.1.el9_1
Fixed · RHSA-2023:0334
Red Hat Enterprise Linux 9
kernel-rt-0:5.14.0-162.12.1.rt21.175.el9_1
Fixed · RHSA-2023:0300
Red Hat Enterprise Linux 9
kpatch-patch
Fixed · RHSA-2023:0348
Red Hat Enterprise Linux 9.0 Extended Update Support
kernel-0:5.14.0-70.36.1.el9_0
Fixed · RHSA-2022:8973
Red Hat Enterprise Linux 9.0 Extended Update Support
kernel-rt-0:5.14.0-70.36.1.rt21.108.el9_0
Fixed · RHSA-2022:8974
Red Hat Enterprise Linux 9.0 Extended Update Support
kpatch-patch
Fixed · RHSA-2022:9082
Red Hat Enterprise Linux 7
kernel
Not affected
Red Hat Enterprise Linux 7
kernel-rt
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | kernel-0:4.18.0-425.13.1.el8_7 | Fixed | RHSA-2023:0832 |
| Red Hat Enterprise Linux 8 | kernel-rt-0:4.18.0-425.13.1.rt7.223.el8_7 | Fixed | RHSA-2023:0854 |
| Red Hat Enterprise Linux 8 | kpatch-patch | Fixed | RHSA-2023:0839 |
| Red Hat Enterprise Linux 9 | kernel-0:5.14.0-162.12.1.el9_1 | Fixed | RHSA-2023:0334 |
| Red Hat Enterprise Linux 9 | kernel-0:5.14.0-162.12.1.el9_1 | Fixed | RHSA-2023:0334 |
| Red Hat Enterprise Linux 9 | kernel-rt-0:5.14.0-162.12.1.rt21.175.el9_1 | Fixed | RHSA-2023:0300 |
| Red Hat Enterprise Linux 9 | kpatch-patch | Fixed | RHSA-2023:0348 |
| Red Hat Enterprise Linux 9.0 Extended Update Support | kernel-0:5.14.0-70.36.1.el9_0 | Fixed | RHSA-2022:8973 |
| Red Hat Enterprise Linux 9.0 Extended Update Support | kernel-rt-0:5.14.0-70.36.1.rt21.108.el9_0 | Fixed | RHSA-2022:8974 |
| Red Hat Enterprise Linux 9.0 Extended Update Support | kpatch-patch | Fixed | RHSA-2022:9082 |
| Red Hat Enterprise Linux 7 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
Affected versions of the Red Hat Enterprise Linux are 8.7 and higher, because starting from the 8.7 the affected source code introduced with the errata RHSA-2022:7683.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
NoneAutomatable
YesTechnical Impact
PartialDecision
n/aAssessed May 1, 2025 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 4, 2026.
Score over time
2022-2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (18 key points)
Flat stretches are collapsed. Showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 4, 2026 | 22.29% (0.22293) | 97.62th | v5 (v2026.06.15) |
| Jun 15, 2026 | 21.31% (0.21314) | 97.28th | v5 (v2026.06.15) |
| Mar 30, 2025 | 0.63% (0.00633) | 67.93th | v4 (v2025.03.14) |
| Mar 29, 2025 | 1.85% (0.01852) | 71.94th | v4 (v2025.03.14) |
| Mar 17, 2025 | 0.63% (0.00633) | 68.60th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.16% (0.00159) | 53.72th | v3 (v2023.03.01) |
| Jun 25, 2024 | 0.16% (0.00159) | 52.60th | v3 (v2023.03.01) |
| Jun 11, 2024 | 0.14% (0.00136) | 49.02th | v3 (v2023.03.01) |
| Apr 16, 2024 | 0.11% (0.00115) | 44.64th | v3 (v2023.03.01) |
| Dec 7, 2023 | 0.10% (0.00104) | 42.11th | v3 (v2023.03.01) |
| Nov 11, 2023 | 0.09% (0.00092) | 39.04th | v3 (v2023.03.01) |
| Oct 5, 2023 | 0.06% (0.00063) | 25.39th | v3 (v2023.03.01) |
| Mar 9, 2023 | 0.05% (0.00053) | 19.16th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.05% (0.00046) | 13.98th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.89% (0.00885) | 27.89th | v2 (v2022.01.01) |
| Feb 23, 2023 | 0.89% (0.00885) | 27.85th | v2 (v2022.01.01) |
| Dec 29, 2022 | 4.50% (0.04499) | 88.41th | v2 (v2022.01.01) |
| Nov 5, 2022 | 0.89% (0.00885) | 26.82th | v2 (v2022.01.01) |
References (8)
- http://packetstormsecurity.com/files/171289/Kernel-Live-Patch-Security-Notice-LNS-0092-1.html
- https://access.redhat.com/security/cve/CVE-2022-43945 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2141752 Issue Tracking
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f90497a16e434c2211c66e3de8e77b17868382b8 Mailing ListPatchVendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2022-43945
- https://security.netapp.com/advisory/ntap-20221215-0006/ Third Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2022-43945
Change history (0)
No recorded changes yet.