U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

CVE-2024-40902 Detail

Description

In the Linux kernel, the following vulnerability has been resolved: jfs: xattr: fix buffer overflow for invalid xattr When an xattr size is not what is expected, it is printed out to the kernel log in hex format as a form of debugging. But when that xattr size is bigger than the expected size, printing it out can cause an access off the end of the buffer. Fix this all up by properly restricting the size of the debug hex dump in the kernel log.


Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NIST CVSS score
NIST: NVD
N/A
NVD assessment not yet provided.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
https://git.kernel.org/stable/c/1e84c9b1838152a87cf453270a5fa75c5037e83a Patch 
https://git.kernel.org/stable/c/1e84c9b1838152a87cf453270a5fa75c5037e83a Patch 
https://git.kernel.org/stable/c/33aecc5799c93d3ee02f853cb94e201f9731f123 Patch 
https://git.kernel.org/stable/c/33aecc5799c93d3ee02f853cb94e201f9731f123 Patch 
https://git.kernel.org/stable/c/4598233d9748fe4db4e13b9f473588aa25e87d69 Patch 
https://git.kernel.org/stable/c/4598233d9748fe4db4e13b9f473588aa25e87d69 Patch 
https://git.kernel.org/stable/c/480e5bc21f2c42d90c2c16045d64d824dcdd5ec7 Patch 
https://git.kernel.org/stable/c/480e5bc21f2c42d90c2c16045d64d824dcdd5ec7 Patch 
https://git.kernel.org/stable/c/7c55b78818cfb732680c4a72ab270cc2d2ee3d0f Patch 
https://git.kernel.org/stable/c/7c55b78818cfb732680c4a72ab270cc2d2ee3d0f Patch 
https://git.kernel.org/stable/c/b537cb2f4c4a1357479716a9c339c0bda03d873f Patch 
https://git.kernel.org/stable/c/b537cb2f4c4a1357479716a9c339c0bda03d873f Patch 
https://git.kernel.org/stable/c/f0dedb5c511ed82cbaff4997a8decf2351ba549f Patch 
https://git.kernel.org/stable/c/f0dedb5c511ed82cbaff4997a8decf2351ba549f Patch 
https://git.kernel.org/stable/c/fc745f6e83cb650f9a5f2c864158e3a5ea76dad0 Patch 
https://git.kernel.org/stable/c/fc745f6e83cb650f9a5f2c864158e3a5ea76dad0 Patch 

Weakness Enumeration

CWE-ID CWE Name Source
CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') cwe source acceptance level NIST  
CWE-121 Stack-based Buffer Overflow CISA-ADP  

Known Affected Software Configurations Switch to CPE 2.2

CPEs loading, please wait.

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History

4 change records found show changes

Quick Info

CVE Dictionary Entry:
CVE-2024-40902
NVD Published Date:
07/12/2024
NVD Last Modified:
11/21/2024
Source:
kernel.org