CVE-2024-26848: afs: Fix endless loop in directory parsing

Published Apr 17, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved: afs: Fix endless loop in directory parsing If a directory has a block with only ".afsXXXX" files in it (from uncompleted silly-rename), these .afsXXXX files are skipped but without advancing the file position in the dircontext. This leads to afsdiriterate() repeating the block again and again. Fix this by making the code that skips the .afsXXXX file also manually advance the file position. The symptoms are a soft lookup: watchdog: BUG: soft lockup - CPU#3 stuck for 52s! [check:5737] ... RIP: 0010:afsdiriterateblock+0x39/0x1fd ... ? watchdogtimerfn+0x1a6/0x213 ... ? asmsysvecapictimerinterrupt+0x16/0x20 ? afsdiriterateblock+0x39/0x1fd afsdiriterate+0x10a/0x148 afsreaddir+0x30/0x4a iteratedir+0x93/0xd3 dosysgetdents64+0x6b/0xd4 This is almost certainly the actual fix for: https://bugzilla.kernel.org/showbug.cgi?id=218496

Other sources

Rejected reason: This CVE ID has been rejected or withdrawn by its CVE Numbering Authority.

— NVD

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Modify the AFS directory-parsing code so that when .__afsXXXX files are skipped, it manually advances the file position in the dir_context.

Event History

Apr 17, 2024
CVE Published
via MITRE·10:14 AM
Rejected
via MITRE·10:14 AM
Data Sourced
via NVD·11:15 AM
Description
Jun 8, 2024
Data Sourced
via Launchpad·01:07 AM
Description
Dec 5, 2024
Data Sourced
via Ubuntu·04:37 AM
RemedyDescriptionSeverityAffected Software
Dec 19, 2024
Rejected
via MITRE·03:16 PM
Dec 21, 2024
Data Sourced
via Debian·06:02 AM
DescriptionAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-26848?

CVE-2024-26848 is classified as a moderate severity vulnerability in the Linux kernel.

2

How do I fix CVE-2024-26848?

To fix CVE-2024-26848, users should apply the latest kernel patches provided by their Linux distribution.

3

What type of vulnerability is CVE-2024-26848?

CVE-2024-26848 is a directory parsing vulnerability that may lead to an endless loop.

4

Which versions of the Linux kernel are affected by CVE-2024-26848?

CVE-2024-26848 affects multiple versions of the Linux kernel where directory handling routines have flaws.

5

Can CVE-2024-26848 be exploited remotely?

CVE-2024-26848 typically requires local access to exploit, making remote exploitation unlikely.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203