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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2024-26981— nilfs2: fix OOB in nilfs_set_de_type

AI Predicted 5.5 Difficulty: Moderate EPSS 0.27% · P19

Possible ATT&CK Techniques 1AI

T1203 · Exploitation for Client Execution

Affected Version Matrix 18

VendorProductVersion RangeStatus
LinuxLinux2ba466d74ed74f073257f86e61519cb8f8f46184< 054f29e9ca05be3906544c5f2a2c7321c30a4243affected
2ba466d74ed74f073257f86e61519cb8f8f46184< 90f43980ea6be4ad903e389be9a27a2a0018f1c8affected
2ba466d74ed74f073257f86e61519cb8f8f46184< 7061c7efbb9e8f11ce92d6b4646405ea2b0b4de1affected
2ba466d74ed74f073257f86e61519cb8f8f46184< bdbe483da21f852c93b22557b146bc4d989260f0affected
2ba466d74ed74f073257f86e61519cb8f8f46184< 897ac5306bbeb83e90c437326f7044c79a17c611affected
2ba466d74ed74f073257f86e61519cb8f8f46184< 2382eae66b196c31893984a538908c3eb7506ff9affected
2ba466d74ed74f073257f86e61519cb8f8f46184< 90823f8d9ecca3d5fa6b102c8e464c62f416975faffected
2ba466d74ed74f073257f86e61519cb8f8f46184< c4a7dc9523b59b3e73fd522c73e95e072f876b16affected
… +10 more rows
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2024-26981

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
nilfs2: fix OOB in nilfs_set_de_type
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix OOB in nilfs_set_de_type The size of the nilfs_type_by_mode array in the fs/nilfs2/dir.c file is defined as "S_IFMT >> S_SHIFT", but the nilfs_set_de_type() function, which uses this array, specifies the index to read from the array in the same way as "(mode & S_IFMT) >> S_SHIFT". static void nilfs_set_de_type(struct nilfs_dir_entry *de, struct inode *inode) { umode_t mode = inode->i_mode; de->file_type = nilfs_type_by_mode[(mode & S_IFMT)>>S_SHIFT]; // oob } However, when the index is determined this way, an out-of-bounds (OOB) error occurs by referring to an index that is 1 larger than the array size when the condition "mode & S_IFMT == S_IFMT" is satisfied. Therefore, a patch to resize the nilfs_type_by_mode array should be applied to prevent OOB errors.
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存在安全漏洞,该漏洞源于引用比数组大小大1的索引会发生越界错误。
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

VendorProductAffected VersionsCPESubscribe
LinuxLinux 2ba466d74ed74f073257f86e61519cb8f8f46184 ~ 054f29e9ca05be3906544c5f2a2c7321c30a4243 -
LinuxLinux 2.6.30 -

II. Public POCs for CVE-2024-26981

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-26981

登录查看更多情报信息。

Mailing List Discussions for CVE-2024-26981 (2)

Other References for CVE-2024-26981 (7)

Same Patch Batch · Linux · 2024-05-01 · 159 CVEs total

CVE-2024-273889.8 CRITICALSUNRPC: fix some memleaks in gssx_dec_option_array
CVE-2024-269539.8 CRITICALnet: esp: fix bad handling of pages from page_pool
CVE-2024-269318.8 HIGHscsi: qla2xxx: Fix command flush on cable pull
CVE-2024-269908.8 HIGHKVM: x86/mmu: Write-protect L2 SPTEs in TDP MMU when clearing dirty status
CVE-2024-270538.8 HIGHwifi: wilc1000: fix RCU usage in connect path
CVE-2024-269528.3 HIGHksmbd: fix potencial out-of-bounds when buffer offset is invalid
CVE-2024-270188.2 HIGHnetfilter: br_netfilter: skip conntrack input hook for promisc packets
CVE-2024-269368.2 HIGHksmbd: validate request buffer size in smb2_allocate_rsp_buf()
CVE-2024-269808.2 HIGHksmbd: fix slab-out-of-bounds in smb2_allocate_rsp_buf
CVE-2024-269548.1 HIGHksmbd: fix slab-out-of-bounds in smb_strndup_from_utf16()
CVE-2024-269947.8 HIGHspeakup: Avoid crash on very long word
CVE-2024-269667.8 HIGHclk: qcom: mmcc-apq8084: fix terminating of frequency table arrays
CVE-2024-269747.8 HIGHcrypto: qat - resolve race condition during AER recovery
CVE-2024-269767.8 HIGHKVM: Always flush async #PF workqueue when vCPU is being destroyed
CVE-2024-270627.8 HIGHnouveau: lock the client object tree.
CVE-2024-270617.8 HIGHcrypto: sun8i-ce - Fix use after free in unprepare
CVE-2024-269837.8 HIGHbootconfig: use memblock_free_late to free xbc memory to buddy
CVE-2024-270587.8 HIGHtmpfs: fix race on handling dquot rbtree
CVE-2024-270567.8 HIGHwifi: iwlwifi: mvm: ensure offloading TID queue exists
CVE-2024-270177.8 HIGHnetfilter: nft_set_pipapo: walk over current view on netlink dump

Showing top 20 of 159 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2024-26981

No comments yet


Leave a comment