logo
    • Buy Crypto
    • Markets
    • Futures
    • Spot
    • Earn
    • Affiliates & AI
    • More
    1. WEEX
    2. Crypto News
    3. Linux 7.3 Fixes FAT System Bug That Silently Truncated File Names

    Linux 7.3 Fixes FAT System Bug That Silently Truncated File Names

    By: www.diariobitcoin.com|2026/08/18 17:52:11
    0
    Share
    copy
    Prefer us on GooglePrefer us on Google
     

    **The Linux 7.3 kernel includes a fix for the FAT file system driver that for years accepted longer file names than allowed, truncating them silently and causing unexpected behaviors. The bug, discovered by a Huawei engineer, affected data integrity and generated kernel alerts when using functions like open(), although vfat was not compromised.

    A Silent Bug at the Heart of FAT

    The FAT file system driver in Linux, responsible for supporting FAT12, FAT16, and FAT32, rarely receives significant updates, but for Linux 7.3, a patch has arrived that corrects a faulty behavior that could go unnoticed for a long time. The issue lay in the lack of an upper limit check on the length of file names, allowing excessively long names to be silently truncated, leading to unexpected situations.

    When a file name exceeded Linux's NAME_MAX limit of 255 bytes, the driver truncated the excess length without issuing any warning and continued as if the operation had succeeded. This behavior was unintentional, as when subsequently reading those files, the system only matched the truncated bytes, which could lead to inconsistencies and potential data loss.

    Huawei engineer Zizhi Wo was the one who detected and resolved the issue in the FAT driver, explaining in the patch message that the msdos_format_name() function did not perform any upper limit checks on the input name length.

    The Risk with Extremely Long Names

    To illustrate the severity of the bug, Wo provided a concrete example: passing a name of 300 bytes composed solely of 'A's returned 0 as success, with res set to "AAAAAAAA" (eight 'A's plus three padding spaces), reporting success for a name much longer than NAME_MAX. This scenario was not only confusing but could trigger erratic behaviors in the kernel.

    When a user called open() with a path component longer than 255 bytes, the VFS system only applied PATH_MAX, not the length of an individual component, so the dentry retained the original long name but was assigned an inode and became positive. This triggered a warning in vfs_open() that propagated to fsnotify_open() and fanotify_info_copy_name(), where WARN_ON_ONCE() was activated, causing the event to be reported to user space with an empty name.

    The impact was not limited to an annoying warning but could affect systems that rely on fanotify to monitor file system events. An empty name in the event could break the logic of applications that depend on that information, generating potential vulnerabilities or failures in security monitoring.

    Fortunately, the vfat file system was not affected by this issue because its creation passed through xlate_to_uni(), which rejects names longer than FAT_LFN_LEN, a limit of 255 characters.

    The Fix Proposed by Huawei

    The implemented solution adds a check for 'len > NAME_MAX' in the entry of msdos_format_name(), which is the only entry point for all msdos name handling in the driver. This check aligns with those performed by xfs, 9p, ceph, and simple_lookup() in the lookup, ensuring that no name exceeds the limit set by the system.

    This approach guarantees that starting from the Linux 7.3 kernel, any attempt to use a file name longer than 255 bytes in FAT systems will be controlled and rejected, rather than silently truncated. The fix also prevents unnecessary warnings from being triggered in the kernel, improving system stability and security.

    The patch has been submitted and is now merged for Linux 7.3, and it is expected to be backported to stable kernels in the near future, so users of distributions that maintain older kernel versions can benefit from this fix.

    Such bugs, although infrequent in an old driver like FAT, underscore the importance of keeping systems updated and reviewing the code that handles critical operations like file access.

    This content is provided for general informational purposes only and doesn't constitute financial, investment, legal, or tax advice. Any events, rewards, online promotions, or related information mentioned herein should not be considered a recommendation, solicitation, or invitation to purchase, sell, trade, or otherwise deal in any crypto assets. Crypto assets are highly volatile and may result in loss. The availability of WEEX services, products, and related events may vary by region. You are responsible for ensuring that your participation is in accordance with applicable local laws and regulations.

    You may also like

    Pennsylvania Sets Power and Water Conditions for Data Center Support

    Pennsylvania Sets Power and Water Conditions for Data Center Support

    Pennsylvania has established criteria for data centers to receive state support and tax incentives, requiring developers to meet conditions related to power costs, water usage, community procedures, and employment.
    0G Private Computer tops 250B tokens, adds USD payments

    0G Private Computer tops 250B tokens, adds USD payments

    web3: pump.fun Turns Repurchase Position Profitable, $PUMP Ends 9-Month Loss

    web3: pump.fun Turns Repurchase Position Profitable, $PUMP Ends 9-Month Loss

    Bitcoin As Digital Real Estate: An Excerpt From Leon Wankum's Digital Real Estate

    Bitcoin As Digital Real Estate: An Excerpt From Leon Wankum's Digital Real Estate

    Explore how Bitcoin can be understood as digital real estate, combining absolute scarcity, global portability, and a growing economic network to create a new framework for storing and transferring value.
    U.S. Pending Home Sales Decrease by 2.3% in July Amidst 6.7% Mortgage Rates

    U.S. Pending Home Sales Decrease by 2.3% in July Amidst 6.7% Mortgage Rates

    SpaceX Reaches Its 100th Launch Milestone in 2026: Falcon 9 Launches with 24 Starlink Satellites

    SpaceX Reaches Its 100th Launch Milestone in 2026: Falcon 9 Launches with 24 Starlink Satellites

    SpaceX is about to achieve its 100th mission of the year for the third consecutive year. A Falcon 9 rocket, carrying 24 Starlink satellites, will launch from Vandenberg Space Force Base in California, as the company moves towards an era of mass launches with Starship, which could bring annual totals...
    Agency Patent Research: Clerq Compresses Weeks of Work into 10 Minutes

    Agency Patent Research: Clerq Compresses Weeks of Work into 10 Minutes

    Chinese Companies Imitate Strategy Despite Bitcoin Restrictions

    Chinese Companies Imitate Strategy Despite Bitcoin Restrictions

    web3: Strive Acquires 79 More Bitcoins, Total Holdings Rise to 20,246

    web3: Strive Acquires 79 More Bitcoins, Total Holdings Rise to 20,246

    web3: Aave's XAUT Deposits Rise to $76.7 Million

    web3: Aave's XAUT Deposits Rise to $76.7 Million

    Crypto regulation alone cannot solve the institutional settlement gap, says Lynq CEO

    Crypto regulation alone cannot solve the institutional settlement gap, says Lynq CEO

    Porto Alegre Gathers for BitDevs and Invites Interested Parties to Participate in Bitcoin Discussions

    Porto Alegre Gathers for BitDevs and Invites Interested Parties to Participate in Bitcoin Discussions

    The community interested in Bitcoin gathers for another high-level debate edition in the capital of Rio Grande do Sul; see how to participate.
    Bitcoin's Return to $126,000: Will It Reverse the Pure Mining Model?

    Bitcoin's Return to $126,000: Will It Reverse the Pure Mining Model?

    BitMine Approaches 5% of Total Ethereum Supply with 5.82 Million ETH

    BitMine Approaches 5% of Total Ethereum Supply with 5.82 Million ETH

    web3: Nasdaq to Introduce Night Trading Hours to Compete in Crypto Market

    web3: Nasdaq to Introduce Night Trading Hours to Compete in Crypto Market

    Crypto card spending jumps 2.5x to $759m in July

    Crypto card spending jumps 2.5x to $759m in July

    Hunting Down The Coldcard Hacker. Wave 1 Thief May Be Known To FBI

    Hunting Down The Coldcard Hacker. Wave 1 Thief May Be Known To FBI

    Clay Garrett’s investigation matched the 1,082.65 BTC sweeps to a major data provider’s internal logs with “extraordinary specificity.” The coins remain unmoved.
    Bitcoin Mining: The Tax-Neutral Solution for Wasted Wind Energy

    Bitcoin Mining: The Tax-Neutral Solution for Wasted Wind Energy

    Crypto Hack: Harmony Erases 141,000 Blocks to Cancel 3 Trillion ONE Minted by a Hacker

    Crypto Hack: Harmony Erases 141,000 Blocks to Cancel 3 Trillion ONE Minted by a Hacker

    Harmony erases 141,000 blocks to cancel a hack that minted 3 trillion ONE, a rollback that reignites the debate on the immutability of blockchains.
    North Korean Remote Recruitment Infiltration: Interview Verification Becomes a Security Line

    North Korean Remote Recruitment Infiltration: Interview Verification Becomes a Security Line

    Evidence has emerged that personnel linked to North Korea are exploiting the remote recruitment processes of crypto companies as a pathway for infiltration, highlighted by an interview-based report. Wallet hacking, interviews, onboarding, and equipment delivery have become primary lines of security ...
    Goldman Sachs buys LCN in deal worth up to $410M

    Goldman Sachs buys LCN in deal worth up to $410M

    Reed Hastings Discusses Netflix's Layoff Culture

    Reed Hastings Discusses Netflix's Layoff Culture

    Citi Removes the Real from Carry Trade: What Changes for Investors

    Citi Removes the Real from Carry Trade: What Changes for Investors

    Casas Bahia in RJ: What Analysts Say About BHIA3

    Casas Bahia in RJ: What Analysts Say About BHIA3

    web3: U.S. Primaries in Three States Focus on Crypto, Data Centers, and Tax Reform

    web3: U.S. Primaries in Three States Focus on Crypto, Data Centers, and Tax Reform

    web3: World Liberty Claims WorldClaw Operates Independently

    web3: World Liberty Claims WorldClaw Operates Independently

    Microsoft Reverses Course: Brings Back the Classic Context Menu of Windows 10 After Years of Complaints

    Microsoft Reverses Course: Brings Back the Classic Context Menu of Windows 10 After Years of Complaints

    Microsoft finally addresses complaints and improves the File Explorer and context menu of Windows 11. The new update, available in the Experimental Channel, promises to resolve freezing issues and add options to recover the classic Windows 10 experience.
    web3: HashKey Launches HKD Stablecoin for Trade and Insurance Settlements

    web3: HashKey Launches HKD Stablecoin for Trade and Insurance Settlements

    War in Iran: Donald Trump Claims the Strait of Hormuz as American Territory

    War in Iran: Donald Trump Claims the Strait of Hormuz as American Territory

    On Truth Social, Donald Trump presents the Strait of Hormuz as American territory, a claim without legal basis.
    Record Imports of Consumer Goods: Which Products Saw Increases of Up to 530%

    Record Imports of Consumer Goods: Which Products Saw Increases of Up to 530%

    In the first half, consumer goods worth $5.362 billion entered the country, the highest amount in the historical series. Compared to 2023, external purchases grew by 34.7%, with significant increases in home appliances, clothing, and food.

    Pennsylvania Sets Power and Water Conditions for Data Center Support

    Pennsylvania has established criteria for data centers to receive state support and tax incentives, requiring developers to meet conditions related to power costs, water usage, community procedures, and employment.

    0G Private Computer tops 250B tokens, adds USD payments

    web3: pump.fun Turns Repurchase Position Profitable, $PUMP Ends 9-Month Loss

    Bitcoin As Digital Real Estate: An Excerpt From Leon Wankum's Digital Real Estate

    Explore how Bitcoin can be understood as digital real estate, combining absolute scarcity, global portability, and a growing economic network to create a new framework for storing and transferring value.

    U.S. Pending Home Sales Decrease by 2.3% in July Amidst 6.7% Mortgage Rates

    SpaceX Reaches Its 100th Launch Milestone in 2026: Falcon 9 Launches with 24 Starlink Satellites

    SpaceX is about to achieve its 100th mission of the year for the third consecutive year. A Falcon 9 rocket, carrying 24 Starlink satellites, will launch from Vandenberg Space Force Base in California, as the company moves towards an era of mass launches with Starship, which could bring annual totals...
    ...
    Invite friends, get rewards
    Invite to get up to $160 + 40% commission
    Invite friends, get rewardsInvite

    Latest articles

    08/18/2026

    Pennsylvania Sets Power and Water Conditions for Data Center Support

    Pennsylvania has established criteria for data centers to receive state support and tax incentives, requiring developers to meet conditions related to power costs, water usage, community procedures, and employment.
    08/18/2026

    0G Private Computer tops 250B tokens, adds USD payments

    08/18/2026

    web3: pump.fun Turns Repurchase Position Profitable, $PUMP Ends 9-Month Loss

    08/18/2026

    Bitcoin As Digital Real Estate: An Excerpt From Leon Wankum's Digital Real Estate

    Explore how Bitcoin can be understood as digital real estate, combining absolute scarcity, global portability, and a growing economic network to create a new framework for storing and transferring value.
    08/18/2026

    Linux 7.3 Fixes FAT System Bug That Silently Truncated File Names

    The Linux 7.3 kernel includes a fix for the FAT file system driver that for years accepted longer file names than allowed, truncating them silently and causing unexpected behaviors. The bug, discovered by a Huawei engineer, affected data integrity and generated kernel alerts when using functions lik...
    More

    Latest coin listings on WEEX

    logoCommunity
    iconiconiconiconiconiconicon
    Customer Support:@weikecs
    Business Cooperation:@weikecs
    Quant Trading & MM:bd@weex.com
    VIP Program:support@weex.com
    • About Us
    • Announcement Center
    • Media Kit
    • WEEX Community
    • WXT Zone
    • Announcement
    • Legal Statement
    • Risk Disclosure
    • Terms and Policies
    • Privacy Policy
    • Whistleblower Notice
    • AML/CTF Policy
    • Law Enforcement
    • User Guide
    • Product Launches
    • Crypto News
    • Product Launches
    • Crypto Wiki
    • Learn
    • Q&A
    • Spot
    • Futures
    • Glossary
    • VIP Program
    • Download
    • Affiliate
    • Protection Fund
    • Proof of Reserves
    • Sitemap
    • ETFs
    • Crypto Prices
    • Price Predictions
    • WXT Price
    • BTC Price
    • ETH Price
    • DOGE Price
    • How to Buy Crypto
    • How to Buy WXT
    • How to Buy BTC
    • How to Buy ETH
    • How to Buy DOGE
    • Help Center
    • Fee Schedule
    • Trading Rules
    • WEEX Academy
    • Contact Verifier
    • Submit Feedback
    • About Us
    • Announcement Center
    • Media Kit
    • WEEX Community
    • WXT Zone
    • Announcement
    • Help Center
    • Fee Schedule
    • Trading Rules
    • WEEX Academy
    • Contact Verifier
    • Submit Feedback
    • Customer Support Bot
    • VIP Services
    • Legal Statement
    • Risk Disclosure
    • Terms and Policies
    • Privacy Policy
    • Whistleblower Notice
    • AML/CTF Policy
    • Law Enforcement
    • Proof of Reserves
    • Invite Friends
    • OTC
    • Download
    • Affiliate
    • VIP Program
    • API
    • Broker
    • Listing Application
    • Affiliate T&C
    • Sitemap
    • Futures
    • Spot
    • Copy Trade
    • Markets
    • WEEX Store
    • User Guide
    • Product Launches
    • Crypto News
    • Product Launches
    • Crypto Wiki
    • Learn
    • Q&A
    • Spot
    • Futures
    • Glossary
    • VIP Program
    • Download
    • Affiliate
    • Protection Fund
    • Proof of Reserves
    • Sitemap
    • ETFs
    • Crypto Prices
    • Price Predictions
    • WXT Price
    • BTC Price
    • ETH Price
    • DOGE Price
    • How to Buy Crypto
    • How to Buy WXT
    • How to Buy BTC
    • How to Buy ETH
    • How to Buy DOGE
    • About Us
    • Announcement Center
    • Media Kit
    • WEEX Community
    • WXT Zone
    • Announcement
    • Help Center
    • Fee Schedule
    • Trading Rules
    • WEEX Academy
    • Contact Verifier
    • Submit Feedback
    • Legal Statement
    • Risk Disclosure
    • Terms and Policies
    • Privacy Policy
    • Whistleblower Notice
    • AML/CTF Policy
    • Law Enforcement
    • Customer Support Bot
    • VIP Services
    • Futures
    • Spot
    • Copy Trade
    • Markets
    • WEEX Store
    • Proof of Reserves
    • Invite Friends
    • OTC
    • Download
    • Affiliate
    • VIP Program
    • API
    • Broker
    • Listing Application
    • Affiliate T&C
    • Sitemap
    • User Guide
    • Product Launches
    • Crypto News
    • Product Launches
    • Crypto Wiki
    • Learn
    • Q&A
    • Spot
    • Futures
    • Glossary
    • VIP Program
    • Download
    • Affiliate
    • Protection Fund
    • Proof of Reserves
    • Sitemap
    • ETFs
    • Crypto Prices
    • Price Predictions
    • WXT Price
    • BTC Price
    • ETH Price
    • DOGE Price
    • How to Buy Crypto
    • How to Buy WXT
    • How to Buy BTC
    • How to Buy ETH
    • How to Buy DOGE

    Where new wealth is made

    Download app

    Sign Up
    h5 logo
    Download