CVE & CISA-KEV Catalog

CVE-2023-52566

MEDIUM
5.5
CVSS v3
NVD

Description

In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix potential use after free in nilfs_gccache_submit_read_data() In nilfs_gccache_submit_read_data(), brelse(bh) is called to drop the reference count of bh when the call to nilfs_dat_translate() fails. If the reference count hits 0 and its owner page gets unlocked, bh may be freed. However, bh->b_page is dereferenced to put the page after that, which may result in a use-after-free bug. This patch moves the release operation after unlocking and putting the page. NOTE: The function in question is only called in GC, and in combination with current userland tools, address translation using DAT does not occur in that function, so the code path that causes this issue will not be executed. However, it is possible to run that code path by intentionally modifying the userland GC library or by calling the GC ioctl directly. [[email protected]: NOTE added to the commit log]

How to fix

Remediation Available
linuxDebian
Fixed in:5.10.205-1CVE-2023-52566
Fixed in:6.1.64-1CVE-2023-52566
Fixed in:6.5.6-1CVE-2023-52566
Fixed in:6.5.6-1CVE-2023-52566
linuxUbuntu
Fixed in:4.4.0-254.288USN-6778-1
Fixed in:4.15.0-225.237USN-6777-1
linux-awsUbuntu
Fixed in:4.4.0-1131.137USN-6778-1
Fixed in:4.4.0-1169.184USN-6778-1
Fixed in:4.15.0-1168.181USN-6777-1
linux-aws-hweUbuntu
Fixed in:4.15.0-1168.181~16.04.1USN-6777-4
linux-azureUbuntu
Fixed in:4.15.0-1177.192~14.04.1USN-6777-2
Fixed in:4.15.0-1177.192~16.04.1USN-6777-2
linux-azure-4.15Ubuntu
Fixed in:4.15.0-1177.192USN-6777-1
linux-gcpUbuntu
Fixed in:4.15.0-1162.179~16.04.1USN-6777-3
linux-gcp-4.15Ubuntu
Fixed in:4.15.0-1162.179USN-6777-1
linux-hweUbuntu
Fixed in:4.15.0-225.237~16.04.1USN-6777-1
linux-image-4.15.0-1131-oracleUbuntu
Fixed in:4.15.0-1131.142~16.04.1USN-6777-1
Fixed in:4.15.0-1131.142USN-6777-1
linux-image-4.15.0-1152-kvmUbuntu
Fixed in:4.15.0-1152.157USN-6777-1
linux-image-4.15.0-1162-gcpUbuntu
Fixed in:4.15.0-1162.179~16.04.1USN-6777-3
Fixed in:4.15.0-1162.179USN-6777-1
linux-image-4.15.0-1168-awsUbuntu
Fixed in:4.15.0-1168.181~16.04.1USN-6777-4
Fixed in:4.15.0-1168.181USN-6777-1
linux-image-4.15.0-1177-azureUbuntu
Fixed in:4.15.0-1177.192~14.04.1USN-6777-2
Fixed in:4.15.0-1177.192~16.04.1USN-6777-2
Fixed in:4.15.0-1177.192USN-6777-1
linux-image-4.15.0-225-genericUbuntu
Fixed in:4.15.0-225.237~16.04.1USN-6777-1
Fixed in:4.15.0-225.237USN-6777-1
linux-image-4.15.0-225-lowlatencyUbuntu
Fixed in:4.15.0-225.237~16.04.1USN-6777-1
Fixed in:4.15.0-225.237USN-6777-1
linux-image-4.4.0-1131-awsUbuntu
Fixed in:4.4.0-1131.137USN-6778-1
linux-image-4.4.0-1132-kvmUbuntu
Fixed in:4.4.0-1132.142USN-6778-1
linux-image-4.4.0-1169-awsUbuntu
Fixed in:4.4.0-1169.184USN-6778-1
linux-image-4.4.0-254-genericUbuntu
Fixed in:4.4.0-254.288~14.04.1USN-6778-1
Fixed in:4.4.0-254.288USN-6778-1
linux-image-4.4.0-254-lowlatencyUbuntu
Fixed in:4.4.0-254.288~14.04.1USN-6778-1
Fixed in:4.4.0-254.288USN-6778-1
linux-image-awsUbuntu
Fixed in:4.4.0.1131.128USN-6778-1
Fixed in:4.4.0.1169.173USN-6778-1
linux-image-aws-hweUbuntu
Fixed in:4.15.0.1168.181~16.04.1USN-6777-4
linux-image-aws-lts-18.04Ubuntu
Fixed in:4.15.0.1168.166USN-6777-1
linux-image-azureUbuntu
Fixed in:4.15.0.1177.192~14.04.1USN-6777-2
Fixed in:4.15.0.1177.192~16.04.1USN-6777-2
linux-image-azure-lts-18.04Ubuntu
Fixed in:4.15.0.1177.145USN-6777-1
linux-image-gcpUbuntu
Fixed in:4.15.0.1162.179~16.04.1USN-6777-3
linux-image-gcp-lts-18.04Ubuntu
Fixed in:4.15.0.1162.175USN-6777-1
linux-image-genericUbuntu
Fixed in:4.4.0.254.260USN-6778-1
Fixed in:4.15.0.225.209USN-6777-1
linux-image-generic-hwe-16.04Ubuntu
Fixed in:4.15.0.225.237~16.04.1USN-6777-1
linux-image-generic-lts-xenialUbuntu
Fixed in:4.4.0.254.288~14.04.1USN-6778-1
Fixed in:4.4.0.254.260USN-6778-1
linux-image-gkeUbuntu
Fixed in:4.15.0.1162.179~16.04.1USN-6777-3
linux-image-kvmUbuntu
Fixed in:4.4.0.1132.129USN-6778-1
Fixed in:4.15.0.1152.143USN-6777-1
linux-image-lowlatencyUbuntu
Fixed in:4.4.0.254.260USN-6778-1
Fixed in:4.15.0.225.209USN-6777-1
linux-image-lowlatency-hwe-16.04Ubuntu
Fixed in:4.15.0.225.237~16.04.1USN-6777-1
linux-image-lowlatency-lts-xenialUbuntu
Fixed in:4.4.0.254.288~14.04.1USN-6778-1
Fixed in:4.4.0.254.260USN-6778-1
linux-image-oemUbuntu
Fixed in:4.15.0.225.237~16.04.1USN-6777-1
linux-image-oracleUbuntu
Fixed in:4.15.0.1131.142~16.04.1USN-6777-1
linux-image-oracle-lts-18.04Ubuntu
Fixed in:4.15.0.1131.136USN-6777-1
linux-image-virtualUbuntu
Fixed in:4.4.0.254.260USN-6778-1
Fixed in:4.15.0.225.209USN-6777-1
linux-image-virtual-hwe-16.04Ubuntu
Fixed in:4.15.0.225.237~16.04.1USN-6777-1
linux-image-virtual-lts-xenialUbuntu
Fixed in:4.4.0.254.288~14.04.1USN-6778-1
Fixed in:4.4.0.254.260USN-6778-1
linux-kvmUbuntu
Fixed in:4.4.0-1132.142USN-6778-1
Fixed in:4.15.0-1152.157USN-6777-1
linux-lts-xenialUbuntu
Fixed in:4.4.0-254.288~14.04.1USN-6778-1
linux-oracleUbuntu
Fixed in:4.15.0-1131.142~16.04.1USN-6777-1
Fixed in:4.15.0-1131.142USN-6777-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Exploit Intelligence

0.22%probability of exploitation in 30 days
13thpercentile

Low risk: more likely to be exploited than 13% of all known CVEs.

References

Related Vulnerabilities

Other CWE-416 (Use After Free) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2019-0708Critical9.8100%KEV + Ransom-
CVE-2021-31166Critical9.8100%KEVFix
CVE-2015-5119Critical9.899%KEV-
CVE-2010-3962High8.197%KEV-
CVE-2015-0313Critical9.896%KEVFix
CVE-2017-9798High7.595%-Fix
Embed a live status badge for CVE-2023-52566
CVE-2023-52566 severity badge

Markdown

[![CVE-2023-52566](https://tridentstack.com/cve/badge/CVE-2023-52566.svg)](https://tridentstack.com/cve/CVE-2023-52566)

HTML

<a href="https://tridentstack.com/cve/CVE-2023-52566"><img src="https://tridentstack.com/cve/badge/CVE-2023-52566.svg" alt="CVE-2023-52566"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-04-08.