CVE-2022-0480 Denial of service in kernel

Medium 5.5 Published Updated

A flaw in the Linux kernel allows attackers to exhaust host memory by bypassing POSIX file lock limits, causing denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2022-0480?

CVE-2022-0480 is a medium-severity denial of service vulnerability in Linux kernel, published on 29 Aug 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A flaw was found in the filelock_init in fs/locks.c function in the Linux kernel. This issue can lead to host memory exhaustion due to memcg not limiting the number of Portable Operating System Interface (POSIX) file locks.

Weakness: CWE-770

Which versions are affected by CVE-2022-0480?

It affects 2 products.

Linux distribution packages (40)
bpftool-debuginfo Red Hat:rhel_eus:9.2::appstreamAll versions0:7.0.0-284.57.1.el9_2
kernel-64k-debug-debuginfo Red Hat:rhel_eus:9.2::appstreamAll versions0:5.14.0-284.57.1.el9_2
kernel-64k-debug-devel Red Hat:rhel_eus:9.2::appstreamAll versions0:5.14.0-284.57.1.el9_2
kernel-64k-debug-devel-matched Red Hat:rhel_eus:9.2::appstreamAll versions0:5.14.0-284.57.1.el9_2
kernel-64k-debuginfo Red Hat:rhel_eus:9.2::appstreamAll versions0:5.14.0-284.57.1.el9_2
kernel-64k-devel Red Hat:rhel_eus:9.2::appstreamAll versions0:5.14.0-284.57.1.el9_2
kernel-64k-devel-matched Red Hat:rhel_eus:9.2::appstreamAll versions0:5.14.0-284.57.1.el9_2
kernel-debug-debuginfo Red Hat:rhel_eus:9.2::appstreamAll versions0:5.14.0-284.57.1.el9_2
kernel-debug-devel Red Hat:rhel_eus:9.2::appstreamAll versions0:5.14.0-284.57.1.el9_2
kernel-debug-devel-matched Red Hat:rhel_eus:9.2::appstreamAll versions0:5.14.0-284.57.1.el9_2
kernel-debuginfo Red Hat:rhel_eus:9.2::appstreamAll versions0:5.14.0-284.57.1.el9_2
kernel-debuginfo-common-aarch64 Red Hat:rhel_eus:9.2::appstreamAll versions0:5.14.0-284.57.1.el9_2
kernel-debuginfo-common-ppc64le Red Hat:rhel_eus:9.2::appstreamAll versions0:5.14.0-284.57.1.el9_2
kernel-debuginfo-common-s390x Red Hat:rhel_eus:9.2::appstreamAll versions0:5.14.0-284.57.1.el9_2
kernel-debuginfo-common-x86_64 Red Hat:rhel_eus:9.2::appstreamAll versions0:5.14.0-284.57.1.el9_2
kernel-devel Red Hat:rhel_eus:9.2::appstreamAll versions0:5.14.0-284.57.1.el9_2
kernel-devel-matched Red Hat:rhel_eus:9.2::appstreamAll versions0:5.14.0-284.57.1.el9_2
kernel-tools-debuginfo Red Hat:rhel_eus:9.2::appstreamAll versions0:5.14.0-284.57.1.el9_2
kernel-zfcpdump-debuginfo Red Hat:rhel_eus:9.2::appstreamAll versions0:5.14.0-284.57.1.el9_2
kernel-zfcpdump-devel Red Hat:rhel_eus:9.2::appstreamAll versions0:5.14.0-284.57.1.el9_2
kernel-zfcpdump-devel-matched Red Hat:rhel_eus:9.2::appstreamAll versions0:5.14.0-284.57.1.el9_2
perf Red Hat:rhel_eus:9.2::appstreamAll versions0:5.14.0-284.57.1.el9_2
perf-debuginfo Red Hat:rhel_eus:9.2::appstreamAll versions0:5.14.0-284.57.1.el9_2
python3-perf-debuginfo Red Hat:rhel_eus:9.2::appstreamAll versions0:5.14.0-284.57.1.el9_2
rtla Red Hat:rhel_eus:9.2::appstreamAll versions0:5.14.0-284.57.1.el9_2
bpftool Red Hat:rhel_eus:9.2::baseosAll versions0:7.0.0-284.57.1.el9_2
bpftool-debuginfo Red Hat:rhel_eus:9.2::baseosAll versions0:7.0.0-284.57.1.el9_2
kernel Red Hat:rhel_eus:9.2::baseosAll versions0:5.14.0-284.57.1.el9_2
kernel-64k Red Hat:rhel_eus:9.2::baseosAll versions0:5.14.0-284.57.1.el9_2
kernel-64k-core Red Hat:rhel_eus:9.2::baseosAll versions0:5.14.0-284.57.1.el9_2
kernel-64k-debug Red Hat:rhel_eus:9.2::baseosAll versions0:5.14.0-284.57.1.el9_2
kernel-64k-debug-core Red Hat:rhel_eus:9.2::baseosAll versions0:5.14.0-284.57.1.el9_2
kernel-64k-debug-debuginfo Red Hat:rhel_eus:9.2::baseosAll versions0:5.14.0-284.57.1.el9_2
kernel-64k-debug-modules Red Hat:rhel_eus:9.2::baseosAll versions0:5.14.0-284.57.1.el9_2
kernel-64k-debug-modules-core Red Hat:rhel_eus:9.2::baseosAll versions0:5.14.0-284.57.1.el9_2
kernel-64k-debug-modules-extra Red Hat:rhel_eus:9.2::baseosAll versions0:5.14.0-284.57.1.el9_2
kernel-64k-debuginfo Red Hat:rhel_eus:9.2::baseosAll versions0:5.14.0-284.57.1.el9_2
kernel-64k-modules Red Hat:rhel_eus:9.2::baseosAll versions0:5.14.0-284.57.1.el9_2
kernel-64k-modules-core Red Hat:rhel_eus:9.2::baseosAll versions0:5.14.0-284.57.1.el9_2
kernel-64k-modules-extra Red Hat:rhel_eus:9.2::baseosAll versions0:5.14.0-284.57.1.el9_2

Products include Linux kernel, Redhat Enterprise Linux.

How do I fix CVE-2022-0480?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2022-0480 being exploited?

There is no known exploitation of CVE-2022-0480 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2022-0480, GHSA-gjf9-j6hw-q3hj, RHSA-2024:1303, RHSA-2024:1304, ROOT-OS-DEBIAN-11-CVE-2022-0480, ROOT-OS-UBUNTU-2204-CVE-2022-0480 and 2 more.

Is CVE-2022-0480 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free