CVE-2024-26848
Vulnerability from cvelistv5
Published
2024-04-17 10:14
Modified
2024-11-05 09:16
Severity ?
Summary
afs: Fix endless loop in directory parsing
References
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/058ed71e0f7aa3b6694ca357e23d084e5d3f2470
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/106e14ca55a0acb3236ee98813a1d243f8aa2d05
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/2afdd0cb02329464d77f3ec59468395c791a51a4
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/5c78be006ed9cb735ac2abf4fd64f3f4ea26da31
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/5f7a07646655fb4108da527565dcdc80124b14c4
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/76426abf9b980b46983f97de8e5b25047b4c9863
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/80b15346492bdba677bbb0adefc611910e505f7b
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/854ebf45a4ddd4cadeffb6644e88d19020634e1a
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/96370ba395c572ef496fd2c7afc4a1ab3dedd3f0
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/9c41f4935625218a2053a2dce1423c3054169809
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/a6ffae61ad9ebf2fdcb943135b2f30c85f49cd27
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/b94f434fe977689da4291dc21717790b9bd1c064
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/f67898867b6b0f4542cddc7fe57997978b948a7a
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/fe02316e4933befc621fa125efb8f8b4d04cceec
Impacted products
LinuxLinux
LinuxLinux
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-02T00:14:13.700Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/5c78be006ed9cb735ac2abf4fd64f3f4ea26da31"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/854ebf45a4ddd4cadeffb6644e88d19020634e1a"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/96370ba395c572ef496fd2c7afc4a1ab3dedd3f0"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/b94f434fe977689da4291dc21717790b9bd1c064"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/80b15346492bdba677bbb0adefc611910e505f7b"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/a6ffae61ad9ebf2fdcb943135b2f30c85f49cd27"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/058ed71e0f7aa3b6694ca357e23d084e5d3f2470"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/76426abf9b980b46983f97de8e5b25047b4c9863"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/f67898867b6b0f4542cddc7fe57997978b948a7a"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/106e14ca55a0acb3236ee98813a1d243f8aa2d05"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/fe02316e4933befc621fa125efb8f8b4d04cceec"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/9c41f4935625218a2053a2dce1423c3054169809"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/5f7a07646655fb4108da527565dcdc80124b14c4"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/2afdd0cb02329464d77f3ec59468395c791a51a4"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html"
          }
        ],
        "title": "CVE Program Container"
      },
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2024-26848",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-09-10T15:48:44.874162Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-09-11T17:33:27.883Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/afs/dir.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "5c78be006ed9",
              "status": "affected",
              "version": "01d15b68f041",
              "versionType": "git"
            },
            {
              "lessThan": "854ebf45a4dd",
              "status": "affected",
              "version": "01d15b68f041",
              "versionType": "git"
            },
            {
              "lessThan": "96370ba395c5",
              "status": "affected",
              "version": "8499e2f1218e",
              "versionType": "git"
            },
            {
              "lessThan": "b94f434fe977",
              "status": "affected",
              "version": "8499e2f1218e",
              "versionType": "git"
            },
            {
              "lessThan": "80b15346492b",
              "status": "affected",
              "version": "21a2115e0ca0",
              "versionType": "git"
            },
            {
              "lessThan": "a6ffae61ad9e",
              "status": "affected",
              "version": "21a2115e0ca0",
              "versionType": "git"
            },
            {
              "lessThan": "058ed71e0f7a",
              "status": "affected",
              "version": "ab49164c6080",
              "versionType": "git"
            },
            {
              "lessThan": "76426abf9b98",
              "status": "affected",
              "version": "ab49164c6080",
              "versionType": "git"
            },
            {
              "lessThan": "f67898867b6b",
              "status": "affected",
              "version": "a53411e805e0",
              "versionType": "git"
            },
            {
              "lessThan": "106e14ca55a0",
              "status": "affected",
              "version": "a53411e805e0",
              "versionType": "git"
            },
            {
              "lessThan": "fe02316e4933",
              "status": "affected",
              "version": "fa70c6954aab",
              "versionType": "git"
            },
            {
              "lessThan": "9c41f4935625",
              "status": "affected",
              "version": "fa70c6954aab",
              "versionType": "git"
            },
            {
              "lessThan": "5f7a07646655",
              "status": "affected",
              "version": "57e9d49c5452",
              "versionType": "git"
            },
            {
              "lessThan": "2afdd0cb0232",
              "status": "affected",
              "version": "57e9d49c5452",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/afs/dir.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.8"
            },
            {
              "lessThan": "6.8",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.271",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.273",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.212",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.214",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.151",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.153",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.81",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.83",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.21",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.23",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.7.*",
              "status": "unaffected",
              "version": "6.7.9",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.7.*",
              "status": "unaffected",
              "version": "6.7.11",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.8.*",
              "status": "unaffected",
              "version": "6.8.2",
              "versionType": "semver"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nafs: Fix endless loop in directory parsing\n\nIf a directory has a block with only \".__afsXXXX\" files in it (from\nuncompleted silly-rename), these .__afsXXXX files are skipped but without\nadvancing the file position in the dir_context.  This leads to\nafs_dir_iterate() repeating the block again and again.\n\nFix this by making the code that skips the .__afsXXXX file also manually\nadvance the file position.\n\nThe symptoms are a soft lookup:\n\n        watchdog: BUG: soft lockup - CPU#3 stuck for 52s! [check:5737]\n        ...\n        RIP: 0010:afs_dir_iterate_block+0x39/0x1fd\n        ...\n         ? watchdog_timer_fn+0x1a6/0x213\n        ...\n         ? asm_sysvec_apic_timer_interrupt+0x16/0x20\n         ? afs_dir_iterate_block+0x39/0x1fd\n         afs_dir_iterate+0x10a/0x148\n         afs_readdir+0x30/0x4a\n         iterate_dir+0x93/0xd3\n         __do_sys_getdents64+0x6b/0xd4\n\nThis is almost certainly the actual fix for:\n\n        https://bugzilla.kernel.org/show_bug.cgi?id=218496"
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2024-11-05T09:16:54.091Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/5c78be006ed9cb735ac2abf4fd64f3f4ea26da31"
        },
        {
          "url": "https://git.kernel.org/stable/c/854ebf45a4ddd4cadeffb6644e88d19020634e1a"
        },
        {
          "url": "https://git.kernel.org/stable/c/96370ba395c572ef496fd2c7afc4a1ab3dedd3f0"
        },
        {
          "url": "https://git.kernel.org/stable/c/b94f434fe977689da4291dc21717790b9bd1c064"
        },
        {
          "url": "https://git.kernel.org/stable/c/80b15346492bdba677bbb0adefc611910e505f7b"
        },
        {
          "url": "https://git.kernel.org/stable/c/a6ffae61ad9ebf2fdcb943135b2f30c85f49cd27"
        },
        {
          "url": "https://git.kernel.org/stable/c/058ed71e0f7aa3b6694ca357e23d084e5d3f2470"
        },
        {
          "url": "https://git.kernel.org/stable/c/76426abf9b980b46983f97de8e5b25047b4c9863"
        },
        {
          "url": "https://git.kernel.org/stable/c/f67898867b6b0f4542cddc7fe57997978b948a7a"
        },
        {
          "url": "https://git.kernel.org/stable/c/106e14ca55a0acb3236ee98813a1d243f8aa2d05"
        },
        {
          "url": "https://git.kernel.org/stable/c/fe02316e4933befc621fa125efb8f8b4d04cceec"
        },
        {
          "url": "https://git.kernel.org/stable/c/9c41f4935625218a2053a2dce1423c3054169809"
        },
        {
          "url": "https://git.kernel.org/stable/c/5f7a07646655fb4108da527565dcdc80124b14c4"
        },
        {
          "url": "https://git.kernel.org/stable/c/2afdd0cb02329464d77f3ec59468395c791a51a4"
        }
      ],
      "title": "afs: Fix endless loop in directory parsing",
      "x_generator": {
        "engine": "bippy-9e1c9544281a"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-26848",
    "datePublished": "2024-04-17T10:14:19.546Z",
    "dateReserved": "2024-02-19T14:20:24.182Z",
    "dateUpdated": "2024-11-05T09:16:54.091Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2024-26848\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-04-17T11:15:08.323\",\"lastModified\":\"2024-11-05T10:15:54.687\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nafs: Fix endless loop in directory parsing\\n\\nIf a directory has a block with only \\\".__afsXXXX\\\" files in it (from\\nuncompleted silly-rename), these .__afsXXXX files are skipped but without\\nadvancing the file position in the dir_context.  This leads to\\nafs_dir_iterate() repeating the block again and again.\\n\\nFix this by making the code that skips the .__afsXXXX file also manually\\nadvance the file position.\\n\\nThe symptoms are a soft lookup:\\n\\n        watchdog: BUG: soft lockup - CPU#3 stuck for 52s! [check:5737]\\n        ...\\n        RIP: 0010:afs_dir_iterate_block+0x39/0x1fd\\n        ...\\n         ? watchdog_timer_fn+0x1a6/0x213\\n        ...\\n         ? asm_sysvec_apic_timer_interrupt+0x16/0x20\\n         ? afs_dir_iterate_block+0x39/0x1fd\\n         afs_dir_iterate+0x10a/0x148\\n         afs_readdir+0x30/0x4a\\n         iterate_dir+0x93/0xd3\\n         __do_sys_getdents64+0x6b/0xd4\\n\\nThis is almost certainly the actual fix for:\\n\\n        https://bugzilla.kernel.org/show_bug.cgi?id=218496\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: afs: corrige el bucle sin fin en el an\u00e1lisis de directorios. Si un directorio tiene un bloque con solo archivos \\\".__afsXXXX\\\" (de un cambio de nombre incompleto), estos archivos .__afsXXXX se omiten, pero sin avanzar la posici\u00f3n del archivo en dir_context. Esto lleva a que afs_dir_iterate() repita el bloque una y otra vez. Solucione este problema haciendo que el c\u00f3digo que omite el archivo .__afsXXXX tambi\u00e9n avance manualmente la posici\u00f3n del archivo. Los s\u00edntomas son una b\u00fasqueda suave: perro guardi\u00e1n: ERROR: bloqueo suave - \u00a1CPU n.\u00b0 3 bloqueada durante 52 segundos! [verificaci\u00f3n: 5737]... RIP: 0010:afs_dir_iterate_block+0x39/0x1fd...? watchdog_timer_fn+0x1a6/0x213...? asm_sysvec_apic_timer_interrupt+0x16/0x20? AFS_DIR_ITERATE_BLOCK+0x39/0x1fd AFS_DIR_ITERATE+0x10a/0x148 AFS_READDIR+0X30/0X4A ITERE_DIR+0X93/0XD3 __DO_SYS_GETDENTS64+0x6b/0xd4 Esto es casi seguro que es casi seguro el fianza real: bug.cgi? id = 218496\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/058ed71e0f7aa3b6694ca357e23d084e5d3f2470\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/106e14ca55a0acb3236ee98813a1d243f8aa2d05\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/2afdd0cb02329464d77f3ec59468395c791a51a4\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/5c78be006ed9cb735ac2abf4fd64f3f4ea26da31\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/5f7a07646655fb4108da527565dcdc80124b14c4\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/76426abf9b980b46983f97de8e5b25047b4c9863\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/80b15346492bdba677bbb0adefc611910e505f7b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/854ebf45a4ddd4cadeffb6644e88d19020634e1a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/96370ba395c572ef496fd2c7afc4a1ab3dedd3f0\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/9c41f4935625218a2053a2dce1423c3054169809\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a6ffae61ad9ebf2fdcb943135b2f30c85f49cd27\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b94f434fe977689da4291dc21717790b9bd1c064\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f67898867b6b0f4542cddc7fe57997978b948a7a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/fe02316e4933befc621fa125efb8f8b4d04cceec\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...

Loading...

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.