📧 info@ciso.sa | 📱 +966550939344 | Riyadh, Kingdom of Saudi Arabia
🔧 Scheduled Maintenance — Saturday 2:00-4:00 AM AST. Some features may be temporarily unavailable.    ●   
💎
Pro Plan 50% Off Unlock all AI features, unlimited reports, and priority support. Upgrade
Search Center
ESC to close
Global apt Government and Defense CRITICAL 36m Global general Technology / Consumer Protection MEDIUM 47m Global vulnerability Information Technology and Security CRITICAL 55m Global vulnerability Information Technology CRITICAL 1h Global apt Infrastructure, Transportation, Finance/Investment HIGH 1h Global vulnerability Information Technology and Infrastructure HIGH 2h Global data_breach Education HIGH 3h Global data_breach Education HIGH 4h Global vulnerability Information Technology CRITICAL 4h Global supply_chain Software Development and Technology HIGH 5h Global apt Government and Defense CRITICAL 36m Global general Technology / Consumer Protection MEDIUM 47m Global vulnerability Information Technology and Security CRITICAL 55m Global vulnerability Information Technology CRITICAL 1h Global apt Infrastructure, Transportation, Finance/Investment HIGH 1h Global vulnerability Information Technology and Infrastructure HIGH 2h Global data_breach Education HIGH 3h Global data_breach Education HIGH 4h Global vulnerability Information Technology CRITICAL 4h Global supply_chain Software Development and Technology HIGH 5h Global apt Government and Defense CRITICAL 36m Global general Technology / Consumer Protection MEDIUM 47m Global vulnerability Information Technology and Security CRITICAL 55m Global vulnerability Information Technology CRITICAL 1h Global apt Infrastructure, Transportation, Finance/Investment HIGH 1h Global vulnerability Information Technology and Infrastructure HIGH 2h Global data_breach Education HIGH 3h Global data_breach Education HIGH 4h Global vulnerability Information Technology CRITICAL 4h Global supply_chain Software Development and Technology HIGH 5h
Vulnerabilities

CVE-2026-43118

Medium
Published: May 6, 2026  ·  Modified: May 9, 2026  ·  Source: NVD
CVSS v3
5.5
🔗 NVD Official
📄 Description (English)

In the Linux kernel, the following vulnerability has been resolved:

btrfs: fix zero size inode with non-zero size after log replay

When logging that an inode exists, as part of logging a new name or
logging new dir entries for a directory, we always set the generation of
the logged inode item to 0. This is to signal during log replay (in
overwrite_item()), that we should not set the i_size since we only logged
that an inode exists, so the i_size of the inode in the subvolume tree
must be preserved (as when we log new names or that an inode exists, we
don't log extents).

This works fine except when we have already logged an inode in full mode
or it's the first time we are logging an inode created in a past
transaction, that inode has a new i_size of 0 and then we log a new name
for the inode (due to a new hardlink or a rename), in which case we log
an i_size of 0 for the inode and a generation of 0, which causes the log
replay code to not update the inode's i_size to 0 (in overwrite_item()).

An example scenario:

mkdir /mnt/dir
xfs_io -f -c "pwrite 0 64K" /mnt/dir/foo

sync

xfs_io -c "truncate 0" -c "fsync" /mnt/dir/foo

ln /mnt/dir/foo /mnt/dir/bar

xfs_io -c "fsync" /mnt/dir

<power fail>

After log replay the file remains with a size of 64K. This is because when
we first log the inode, when we fsync file foo, we log its current i_size
of 0, and then when we create a hard link we log again the inode in exists
mode (LOG_INODE_EXISTS) but we set a generation of 0 for the inode item we
add to the log tree, so during log replay overwrite_item() sees that the
generation is 0 and i_size is 0 so we skip updating the inode's i_size
from 64K to 0.

Fix this by making sure at fill_inode_item() we always log the real
generation of the inode if it was logged in the current transaction with
the i_size we logged before. Also if an inode created in a previous
transaction is logged in exists mode only, make sure we log the i_size
stored in the inode item located from the commit root, so that if we log
multiple times that the inode exists we get the correct i_size.

A test case for fstests will follow soon.

🤖 AI Executive Summary

A Linux kernel btrfs vulnerability allows incorrect inode size handling during log replay when an inode is logged in full mode followed by logging a new name. This can result in zero-sized inodes retaining non-zero sizes after recovery, potentially causing data inconsistency.

📄 Description (Arabic)

يؤثر هذا الضعف على نواة Linux عند استخدام نظام ملفات btrfs، حيث يحدث خطأ في معالجة حجم inode أثناء إعادة تشغيل السجل. عندما يتم تسجيل inode بالكامل متبوعاً بتسجيل اسم جديد، قد يحتفظ inode بحجم غير صحيح بعد استرجاع البيانات.

🤖 ملخص تنفيذي (AI)

A Linux kernel btrfs vulnerability allows incorrect inode size handling during log replay when an inode is logged in full mode followed by logging a new name. This can result in zero-sized inodes retaining non-zero sizes after recovery, potentially causing data inconsistency.

🤖 AI Intelligence Analysis Analyzed: May 25, 2026 21:17
🇸🇦 Saudi Arabia Impact Assessment
Saudi Relevance: medium
🏢 Affected Saudi Sectors
banking energy government healthcare
🎯 MITRE ATT&CK Techniques
⚖️ Saudi Risk Score (AI)
5.0
/ 10.0
🔧 Remediation Steps (English)
Update the Linux kernel to the latest patched version that resolves the btrfs inode logging issue. Apply security patches from your distribution's kernel repository immediately. Verify filesystem integrity using btrfs check tool after applying patches.
🔧 خطوات المعالجة (العربية)
قم بتحديث نواة Linux إلى أحدث إصدار مصحح يحل مشكلة تسجيل inode في btrfs. طبق تصحيحات الأمان من مستودع نواة توزيعتك على الفور. تحقق من سلامة نظام الملفات باستخدام أداة btrfs check بعد تطبيق التصحيحات.
📋 Regulatory Compliance Mapping
🟢 NCA ECC 2024
2.1.1 2.2.1
🔵 SAMA CSF
ID.BE-1 PR.DS-1
🟡 ISO 27001:2022
A.12.2.1 A.12.6.1
📦 Affected Products / CPE 7 entries
linux:linux_kernel
linux:linux_kernel
linux:linux_kernel:7.0
linux:linux_kernel:7.0
linux:linux_kernel:7.0
linux:linux_kernel:7.0
linux:linux_kernel:7.0
📊 CVSS Score
5.5
/ 10.0 — Medium
📊 CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack VectorL — Low / Local
Attack ComplexityL — Low / Local
Privileges RequiredL — Low / Local
User InteractionN — None / Network
ScopeU — Unchanged
ConfidentialityN — None / Network
IntegrityN — None / Network
AvailabilityH — High
📋 Quick Facts
Severity Medium
CVSS Score5.5
EPSS0.01%
Exploit No
Patch ✓ Yes
Published 2026-05-06
Source Feed nvd
Views 1
🇸🇦 Saudi Risk Score
5.0
/ 10.0 — Saudi Risk
Priority: MEDIUM
🏷️ Tags
patch-available
Share this CVE
📣 Found this valuable?
Share it with your cybersecurity network
in LinkedIn 𝕏 X / Twitter 💬 WhatsApp ✈ Telegram
🍪 Privacy Preferences
CISO Consulting — Compliant with Saudi Personal Data Protection Law (PDPL)
We use cookies and similar technologies to provide the best experience on our platform. You can choose which types you accept.
🔒
Essential Always On
Required for the website to function properly. Cannot be disabled.
📋 Sessions, CSRF tokens, authentication, language preferences
📊
Analytics
Help us understand how visitors use the site and improve performance.
📋 Page views, session duration, traffic sources, performance metrics
⚙️
Functional
Enable enhanced features like content personalization and preferences.
📋 Dark/light theme, font size, custom dashboards, saved filters
📣
Marketing
Used to deliver content and ads relevant to your interests.
📋 Campaign tracking, retargeting, social media analytics
Privacy Policy →
CISO AI Assistant
Ask anything · Documents · Support
🔐

Introduce Yourself

Enter your details to access the full assistant

Your info is private and never shared
💬
CyberAssist
Online · responds in seconds
5 / 5
🔐 Verify Your Identity

Enter your email to receive a verification code before submitting a support request.

Enter to send · / for commands 0 / 2000
CISO AI · Powered by Anthropic Claude
✦ Quick Survey Help Us Improve CISO Consulting Your feedback shapes the future of our platform — takes less than 2 minutes.
⚠ Please answer this question to continue

How would you rate your overall experience with our platform?

Rate from 1 (poor) to 5 (excellent)

🎉
Thank you!
Your response has been recorded.