cve.bz

CVE-2022-43945 Incorrect Calculation of Buffer Size

7.5 highEPSS 5.5%Fix available

High (7.5). EPSS 5.5% estimated probability of exploitation activity in the next 30 days.

On this page
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

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
5.5% (unchanged from 5.5% a week ago; 22% 30 days ago) estimated probability of exploitation activity in the next 30 days; 93rd percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2025-05-01. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-770 Allocation of Resources Without Limits or Throttling
CWE-131 Incorrect Calculation of Buffer Size
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-43945 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-43945?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-43945?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-43945 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2022-43945

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2022-43945](https://cve.bz/cve/badge/CVE-2022-43945.svg)](https://cve.bz/cve/CVE-2022-43945)

HTML:

<a href="https://cve.bz/cve/CVE-2022-43945"><img src="https://cve.bz/cve/badge/CVE-2022-43945.svg" alt="CVE-2022-43945"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux:linux_kernelbefore 5.19.17
linux:linux_kernelfrom 6.0 before 6.0.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11linux5.10.221-1DSA-5730-1
Debian12, 13, 14linux6.0.3-1DEBIAN-CVE-2022-43945
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2022-43945
Ubuntu18.04:LTSlinux4.15.0-202.213UBUNTU-CVE-2022-43945 USN-5804-1
Ubuntu18.04:LTSlinux-aws4.15.0-1148.160UBUNTU-CVE-2022-43945 USN-5804-2
Ubuntu18.04:LTSlinux-aws-5.45.4.0-1094.102~18.04.1UBUNTU-CVE-2022-43945 USN-5813-1
Ubuntu18.04:LTSlinux-azure-4.154.15.0-1159.174UBUNTU-CVE-2022-43945 USN-5804-1
Ubuntu18.04:LTSlinux-azure-5.45.4.0-1101.107~18.04.1UBUNTU-CVE-2022-43945 USN-5830-1
Ubuntu18.04:LTSlinux-dell300x4.15.0-1060.65UBUNTU-CVE-2022-43945 USN-5861-1
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2022-43945
Ubuntu18.04:LTSlinux-gcp-4.154.15.0-1143.159UBUNTU-CVE-2022-43945 USN-5804-2
Ubuntu18.04:LTSlinux-gcp-5.45.4.0-1098.107~18.04.1UBUNTU-CVE-2022-43945 USN-5804-1
Ubuntu18.04:LTSlinux-hwe-5.45.4.0-137.154~18.04.1UBUNTU-CVE-2022-43945 USN-5813-1
Ubuntu18.04:LTSlinux-ibm-5.45.4.0-1042.47~18.04.1UBUNTU-CVE-2022-43945 USN-5808-1
97 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::baseoskpatch-patch-4_18_0-425_10_1, kpatch-patch-4_18_0-425_10_1-debuginfo, kpatch-patch-4_18_0-425_10_1-debugsource0:1-1.el8_7RHSA-2023:0839
Red Hatenterprise_linux:8::baseoskpatch-patch-4_18_0-425_3_1, kpatch-patch-4_18_0-425_3_1-debuginfo, kpatch-patch-4_18_0-425_3_1-debugsource0:1-3.el8RHSA-2023:0839
Red Hatenterprise_linux:8::baseosperf, kernel, bpftool and 30 more0:4.18.0-425.13.1.el8_7RHSA-2023:0832
Red Hatenterprise_linux:8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-425.13.1.el8_7RHSA-2023:0832
Red Hatenterprise_linux:8::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:4.18.0-425.13.1.rt7.223.el8_7RHSA-2023:0854
Red Hatenterprise_linux:8::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:4.18.0-425.13.1.rt7.223.el8_7RHSA-2023:0854
Red Hatenterprise_linux:9::appstreamperf, kernel-doc, kernel-devel and 16 more0:5.14.0-162.12.1.el9_1RHSA-2023:0334
Red Hatenterprise_linux:9::baseoskernel, bpftool, kernel-core and 25 more0:5.14.0-162.12.1.el9_1RHSA-2023:0334
Red Hatenterprise_linux:9::baseoskpatch-patch-5_14_0-162_6_1, kpatch-patch-5_14_0-162_6_1-debuginfo, kpatch-patch-5_14_0-162_6_1-debugsource0:1-1.el9_1RHSA-2023:0348
Red Hatenterprise_linux:9::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 9 more0:5.14.0-162.12.1.el9_1RHSA-2023:0334
Red Hatenterprise_linux:9::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:5.14.0-162.12.1.rt21.175.el9_1RHSA-2023:0300
Red Hatenterprise_linux:9::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:5.14.0-162.12.1.rt21.175.el9_1RHSA-2023:0300
9 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 2 morekernel-docs, kernel-syms, kernel-source and 2 more4.12.14-150100.197.131.1SUSE-SU-2022:4574-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 6 morekernel-default-base5.3.18-150200.24.139.1.150200.9.65.2SUSE-SU-2022:4589-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 3 morekernel-docs, kernel-syms, kernel-source and 3 more5.3.18-150200.24.139.1SUSE-SU-2022:4589-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS and 1 morekernel-default-base5.3.18-150200.24.151.1.150200.9.73.1SUSE-SU-2023:2146-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS and 1 morekernel-docs, kernel-syms, kernel-source and 3 more5.3.18-150200.24.151.1SUSE-SU-2023:2146-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-64kb, kernel-docs, kernel-source and 3 more5.3.18-150300.59.121.2SUSE-SU-2023:2148-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-64kb, kernel-docs, kernel-syms and 4 more5.3.18-150300.59.106.1SUSE-SU-2022:4616-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 10 morekernel-default-base5.3.18-150300.59.106.1.150300.18.60.2SUSE-SU-2022:4616-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 7 morekernel-default-base5.3.18-150300.59.121.2.150300.18.70.2SUSE-SU-2023:2148-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 3 morekernel-syms5.3.18-150300.59.121.1SUSE-SU-2023:2148-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-64kb, kernel-docs, kernel-syms and 4 more5.3.18-150300.59.221.1SUSE-SU-2025:03626-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-64kb, kernel-source, kernel-default and 2 more5.3.18-150300.59.226.2SUSE-SU-2025:4188-1
156 more for SUSE in the JSON and on SUSE's page.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE.

Red Hat

Red Hat rates this Important.

Red Hat's 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.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8kernel-rt-0:4.18.0-425.13.1.rt7.223.el8_7Fixed 2023-02-21RHSA-2023:0854
Red Hat Enterprise Linux 8kernel-0:4.18.0-425.13.1.el8_7Fixed 2023-02-21RHSA-2023:0832
Red Hat Enterprise Linux 8kpatch-patchFixed 2023-02-21RHSA-2023:0839
Red Hat Enterprise Linux 9kernel-0:5.14.0-162.12.1.el9_1Fixed 2023-01-23RHSA-2023:0334
Red Hat Enterprise Linux 9kernel-rt-0:5.14.0-162.12.1.rt21.175.el9_1Fixed 2023-01-23RHSA-2023:0300
Red Hat Enterprise Linux 9kpatch-patchFixed 2023-01-23RHSA-2023:0348
Red Hat Enterprise Linux 9.0 Extended Update Supportkernel-0:5.14.0-70.36.1.el9_0Fixed 2022-12-13RHSA-2022:8973
Red Hat Enterprise Linux 9.0 Extended Update Supportkernel-rt-0:5.14.0-70.36.1.rt21.108.el9_0Fixed 2022-12-13RHSA-2022:8974
Red Hat Enterprise Linux 9.0 Extended Update Supportkpatch-patchFixed 2022-12-15RHSA-2022:9082
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-43945.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-24-102-01Siemens SIMATIC S7-1500 TM MFP2024-04-09Critical ManufacturingSIMATIC S7-1500 TM MFP - GNU/Linux subsystemnone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-47 Buffer Overflow via Parameter Expansion Likelihood: Medium · Severity: High
  • CAPEC-100 Overflow Buffers Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-770 (20).

References

Check your stackJSON