Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-42257— ext4: use memtostr_pad() for s_volume_name

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于使用strscpy函数,而不是memtostr_pad函数。

AI Predicted 5.5 Difficulty: Theoretical EPSS 0.20% · P9

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 6

VendorProduct Version RangeStatus
Linux Linux 744a56389f7398f286231e062c2e63f0de01bcc6< 4378be89ddb7de88d984b67ecfd6191686c42817 affected
744a56389f7398f286231e062c2e63f0de01bcc6< be27cd64461c45a6088a91a04eba5cd44e1767ef affected
6.10 affected
< 6.10 unaffected
6.10.1≤ 6.10.* unaffected
6.11≤ * unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-42257

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
ext4: use memtostr_pad() for s_volume_name
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: ext4: use memtostr_pad() for s_volume_name As with the other strings in struct ext4_super_block, s_volume_name is not NUL terminated. The other strings were marked in commit 072ebb3bffe6 ("ext4: add nonstring annotations to ext4.h"). Using strscpy() isn't the right replacement for strncpy(); it should use memtostr_pad() instead.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于使用strscpy函数,而不是memtostr_pad函数。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Linux Linux 744a56389f7398f286231e062c2e63f0de01bcc6 ~ 4378be89ddb7de88d984b67ecfd6191686c42817 -
Linux Linux 6.10 -

II. Public POCs for CVE-2024-42257

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-42257

请登录查看更多情报信息。

Patches & Fixes for CVE-2024-42257 (2)

Same Patch Batch · Linux · 2024-08-08 · 7 CVEs total

CVE-2024-42253 7.8 HIGH gpio: pca953x: fix pca953x_irq_bus_sync_unlock race
CVE-2024-42256 7.5 HIGH cifs: Fix server re-repick on subrequest retry
CVE-2024-42255 tpm: Use auth only after NULL check in tpm_buf_check_hmac_response()
CVE-2024-42254 io_uring: fix error pbuf checking
CVE-2024-42252 closures: Change BUG_ON() to WARN_ON()
CVE-2024-42251 mm: page_ref: remove folio_try_get_rcu()

IV. Related Vulnerabilities

V. Comments for CVE-2024-42257

No comments yet


Leave a comment