CVE-2024-56743 (GCVE-0-2024-56743)
Vulnerability from cvelistv5
Published
2024-12-29 11:30
Modified
2025-10-01 20:07
Summary
In the Linux kernel, the following vulnerability has been resolved: nfs_common: must not hold RCU while calling nfsd_file_put_local Move holding the RCU from nfs_to_nfsd_file_put_local to nfs_to_nfsd_net_put. It is the call to nfs_to->nfsd_serv_put that requires the RCU anyway (the puts for nfsd_file and netns were combined to avoid an extra indirect reference but that micro-optimization isn't possible now). This fixes xfstests generic/013 and it triggering: "Voluntary context switch within RCU read-side critical section!" [ 143.545738] Call Trace: [ 143.546206] <TASK> [ 143.546625] ? show_regs+0x6d/0x80 [ 143.547267] ? __warn+0x91/0x140 [ 143.547951] ? rcu_note_context_switch+0x496/0x5d0 [ 143.548856] ? report_bug+0x193/0x1a0 [ 143.549557] ? handle_bug+0x63/0xa0 [ 143.550214] ? exc_invalid_op+0x1d/0x80 [ 143.550938] ? asm_exc_invalid_op+0x1f/0x30 [ 143.551736] ? rcu_note_context_switch+0x496/0x5d0 [ 143.552634] ? wakeup_preempt+0x62/0x70 [ 143.553358] __schedule+0xaa/0x1380 [ 143.554025] ? _raw_spin_unlock_irqrestore+0x12/0x40 [ 143.554958] ? try_to_wake_up+0x1fe/0x6b0 [ 143.555715] ? wake_up_process+0x19/0x20 [ 143.556452] schedule+0x2e/0x120 [ 143.557066] schedule_preempt_disabled+0x19/0x30 [ 143.557933] rwsem_down_read_slowpath+0x24d/0x4a0 [ 143.558818] ? xfs_efi_item_format+0x50/0xc0 [xfs] [ 143.559894] down_read+0x4e/0xb0 [ 143.560519] xlog_cil_commit+0x1b2/0xbc0 [xfs] [ 143.561460] ? _raw_spin_unlock+0x12/0x30 [ 143.562212] ? xfs_inode_item_precommit+0xc7/0x220 [xfs] [ 143.563309] ? xfs_trans_run_precommits+0x69/0xd0 [xfs] [ 143.564394] __xfs_trans_commit+0xb5/0x330 [xfs] [ 143.565367] xfs_trans_roll+0x48/0xc0 [xfs] [ 143.566262] xfs_defer_trans_roll+0x57/0x100 [xfs] [ 143.567278] xfs_defer_finish_noroll+0x27a/0x490 [xfs] [ 143.568342] xfs_defer_finish+0x1a/0x80 [xfs] [ 143.569267] xfs_bunmapi_range+0x4d/0xb0 [xfs] [ 143.570208] xfs_itruncate_extents_flags+0x13d/0x230 [xfs] [ 143.571353] xfs_free_eofblocks+0x12e/0x190 [xfs] [ 143.572359] xfs_file_release+0x12d/0x140 [xfs] [ 143.573324] __fput+0xe8/0x2d0 [ 143.573922] __fput_sync+0x1d/0x30 [ 143.574574] nfsd_filp_close+0x33/0x60 [nfsd] [ 143.575430] nfsd_file_free+0x96/0x150 [nfsd] [ 143.576274] nfsd_file_put+0xf7/0x1a0 [nfsd] [ 143.577104] nfsd_file_put_local+0x18/0x30 [nfsd] [ 143.578070] nfs_close_local_fh+0x101/0x110 [nfs_localio] [ 143.579079] __put_nfs_open_context+0xc9/0x180 [nfs] [ 143.580031] nfs_file_clear_open_context+0x4a/0x60 [nfs] [ 143.581038] nfs_file_release+0x3e/0x60 [nfs] [ 143.581879] __fput+0xe8/0x2d0 [ 143.582464] __fput_sync+0x1d/0x30 [ 143.583108] __x64_sys_close+0x41/0x80 [ 143.583823] x64_sys_call+0x189a/0x20d0 [ 143.584552] do_syscall_64+0x64/0x170 [ 143.585240] entry_SYSCALL_64_after_hwframe+0x76/0x7e [ 143.586185] RIP: 0033:0x7f3c5153efd7
Impacted products
Vendor Product Version
Linux Linux Version: 65f2a5c366353da6fa724c68347e1de954928143
Version: 65f2a5c366353da6fa724c68347e1de954928143
Create a notification for this product.
   Linux Linux Version: 6.12
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "cvssV3_1": {
              "attackComplexity": "LOW",
              "attackVector": "LOCAL",
              "availabilityImpact": "HIGH",
              "baseScore": 5.5,
              "baseSeverity": "MEDIUM",
              "confidentialityImpact": "NONE",
              "integrityImpact": "NONE",
              "privilegesRequired": "LOW",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
              "version": "3.1"
            }
          },
          {
            "other": {
              "content": {
                "id": "CVE-2024-56743",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2025-10-01T19:57:34.841088Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "problemTypes": [
          {
            "descriptions": [
              {
                "cweId": "CWE-667",
                "description": "CWE-667 Improper Locking",
                "lang": "en",
                "type": "CWE"
              }
            ]
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2025-10-01T20:07:03.949Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/nfs_common/nfslocalio.c",
            "fs/nfsd/filecache.c",
            "fs/nfsd/filecache.h",
            "include/linux/nfslocalio.h"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "3e6e3e97d64f50d9b6b1d62274f08925b1adbfc2",
              "status": "affected",
              "version": "65f2a5c366353da6fa724c68347e1de954928143",
              "versionType": "git"
            },
            {
              "lessThan": "c840b8e1f039e90f97ca55525667eb961422f86c",
              "status": "affected",
              "version": "65f2a5c366353da6fa724c68347e1de954928143",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/nfs_common/nfslocalio.c",
            "fs/nfsd/filecache.c",
            "fs/nfsd/filecache.h",
            "include/linux/nfslocalio.h"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.12"
            },
            {
              "lessThan": "6.12",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.13",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.2",
                  "versionStartIncluding": "6.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.13",
                  "versionStartIncluding": "6.12",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnfs_common: must not hold RCU while calling nfsd_file_put_local\n\nMove holding the RCU from nfs_to_nfsd_file_put_local to\nnfs_to_nfsd_net_put.  It is the call to nfs_to-\u003enfsd_serv_put that\nrequires the RCU anyway (the puts for nfsd_file and netns were\ncombined to avoid an extra indirect reference but that\nmicro-optimization isn\u0027t possible now).\n\nThis fixes xfstests generic/013 and it triggering:\n\n\"Voluntary context switch within RCU read-side critical section!\"\n\n[  143.545738] Call Trace:\n[  143.546206]  \u003cTASK\u003e\n[  143.546625]  ? show_regs+0x6d/0x80\n[  143.547267]  ? __warn+0x91/0x140\n[  143.547951]  ? rcu_note_context_switch+0x496/0x5d0\n[  143.548856]  ? report_bug+0x193/0x1a0\n[  143.549557]  ? handle_bug+0x63/0xa0\n[  143.550214]  ? exc_invalid_op+0x1d/0x80\n[  143.550938]  ? asm_exc_invalid_op+0x1f/0x30\n[  143.551736]  ? rcu_note_context_switch+0x496/0x5d0\n[  143.552634]  ? wakeup_preempt+0x62/0x70\n[  143.553358]  __schedule+0xaa/0x1380\n[  143.554025]  ? _raw_spin_unlock_irqrestore+0x12/0x40\n[  143.554958]  ? try_to_wake_up+0x1fe/0x6b0\n[  143.555715]  ? wake_up_process+0x19/0x20\n[  143.556452]  schedule+0x2e/0x120\n[  143.557066]  schedule_preempt_disabled+0x19/0x30\n[  143.557933]  rwsem_down_read_slowpath+0x24d/0x4a0\n[  143.558818]  ? xfs_efi_item_format+0x50/0xc0 [xfs]\n[  143.559894]  down_read+0x4e/0xb0\n[  143.560519]  xlog_cil_commit+0x1b2/0xbc0 [xfs]\n[  143.561460]  ? _raw_spin_unlock+0x12/0x30\n[  143.562212]  ? xfs_inode_item_precommit+0xc7/0x220 [xfs]\n[  143.563309]  ? xfs_trans_run_precommits+0x69/0xd0 [xfs]\n[  143.564394]  __xfs_trans_commit+0xb5/0x330 [xfs]\n[  143.565367]  xfs_trans_roll+0x48/0xc0 [xfs]\n[  143.566262]  xfs_defer_trans_roll+0x57/0x100 [xfs]\n[  143.567278]  xfs_defer_finish_noroll+0x27a/0x490 [xfs]\n[  143.568342]  xfs_defer_finish+0x1a/0x80 [xfs]\n[  143.569267]  xfs_bunmapi_range+0x4d/0xb0 [xfs]\n[  143.570208]  xfs_itruncate_extents_flags+0x13d/0x230 [xfs]\n[  143.571353]  xfs_free_eofblocks+0x12e/0x190 [xfs]\n[  143.572359]  xfs_file_release+0x12d/0x140 [xfs]\n[  143.573324]  __fput+0xe8/0x2d0\n[  143.573922]  __fput_sync+0x1d/0x30\n[  143.574574]  nfsd_filp_close+0x33/0x60 [nfsd]\n[  143.575430]  nfsd_file_free+0x96/0x150 [nfsd]\n[  143.576274]  nfsd_file_put+0xf7/0x1a0 [nfsd]\n[  143.577104]  nfsd_file_put_local+0x18/0x30 [nfsd]\n[  143.578070]  nfs_close_local_fh+0x101/0x110 [nfs_localio]\n[  143.579079]  __put_nfs_open_context+0xc9/0x180 [nfs]\n[  143.580031]  nfs_file_clear_open_context+0x4a/0x60 [nfs]\n[  143.581038]  nfs_file_release+0x3e/0x60 [nfs]\n[  143.581879]  __fput+0xe8/0x2d0\n[  143.582464]  __fput_sync+0x1d/0x30\n[  143.583108]  __x64_sys_close+0x41/0x80\n[  143.583823]  x64_sys_call+0x189a/0x20d0\n[  143.584552]  do_syscall_64+0x64/0x170\n[  143.585240]  entry_SYSCALL_64_after_hwframe+0x76/0x7e\n[  143.586185] RIP: 0033:0x7f3c5153efd7"
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-05-04T10:03:40.417Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/3e6e3e97d64f50d9b6b1d62274f08925b1adbfc2"
        },
        {
          "url": "https://git.kernel.org/stable/c/c840b8e1f039e90f97ca55525667eb961422f86c"
        }
      ],
      "title": "nfs_common: must not hold RCU while calling nfsd_file_put_local",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-56743",
    "datePublished": "2024-12-29T11:30:11.174Z",
    "dateReserved": "2024-12-29T11:26:39.758Z",
    "dateUpdated": "2025-10-01T20:07:03.949Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2024-56743\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-12-29T12:15:07.707\",\"lastModified\":\"2025-10-01T20:17:46.693\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nnfs_common: must not hold RCU while calling nfsd_file_put_local\\n\\nMove holding the RCU from nfs_to_nfsd_file_put_local to\\nnfs_to_nfsd_net_put.  It is the call to nfs_to-\u003enfsd_serv_put that\\nrequires the RCU anyway (the puts for nfsd_file and netns were\\ncombined to avoid an extra indirect reference but that\\nmicro-optimization isn\u0027t possible now).\\n\\nThis fixes xfstests generic/013 and it triggering:\\n\\n\\\"Voluntary context switch within RCU read-side critical section!\\\"\\n\\n[  143.545738] Call Trace:\\n[  143.546206]  \u003cTASK\u003e\\n[  143.546625]  ? show_regs+0x6d/0x80\\n[  143.547267]  ? __warn+0x91/0x140\\n[  143.547951]  ? rcu_note_context_switch+0x496/0x5d0\\n[  143.548856]  ? report_bug+0x193/0x1a0\\n[  143.549557]  ? handle_bug+0x63/0xa0\\n[  143.550214]  ? exc_invalid_op+0x1d/0x80\\n[  143.550938]  ? asm_exc_invalid_op+0x1f/0x30\\n[  143.551736]  ? rcu_note_context_switch+0x496/0x5d0\\n[  143.552634]  ? wakeup_preempt+0x62/0x70\\n[  143.553358]  __schedule+0xaa/0x1380\\n[  143.554025]  ? _raw_spin_unlock_irqrestore+0x12/0x40\\n[  143.554958]  ? try_to_wake_up+0x1fe/0x6b0\\n[  143.555715]  ? wake_up_process+0x19/0x20\\n[  143.556452]  schedule+0x2e/0x120\\n[  143.557066]  schedule_preempt_disabled+0x19/0x30\\n[  143.557933]  rwsem_down_read_slowpath+0x24d/0x4a0\\n[  143.558818]  ? xfs_efi_item_format+0x50/0xc0 [xfs]\\n[  143.559894]  down_read+0x4e/0xb0\\n[  143.560519]  xlog_cil_commit+0x1b2/0xbc0 [xfs]\\n[  143.561460]  ? _raw_spin_unlock+0x12/0x30\\n[  143.562212]  ? xfs_inode_item_precommit+0xc7/0x220 [xfs]\\n[  143.563309]  ? xfs_trans_run_precommits+0x69/0xd0 [xfs]\\n[  143.564394]  __xfs_trans_commit+0xb5/0x330 [xfs]\\n[  143.565367]  xfs_trans_roll+0x48/0xc0 [xfs]\\n[  143.566262]  xfs_defer_trans_roll+0x57/0x100 [xfs]\\n[  143.567278]  xfs_defer_finish_noroll+0x27a/0x490 [xfs]\\n[  143.568342]  xfs_defer_finish+0x1a/0x80 [xfs]\\n[  143.569267]  xfs_bunmapi_range+0x4d/0xb0 [xfs]\\n[  143.570208]  xfs_itruncate_extents_flags+0x13d/0x230 [xfs]\\n[  143.571353]  xfs_free_eofblocks+0x12e/0x190 [xfs]\\n[  143.572359]  xfs_file_release+0x12d/0x140 [xfs]\\n[  143.573324]  __fput+0xe8/0x2d0\\n[  143.573922]  __fput_sync+0x1d/0x30\\n[  143.574574]  nfsd_filp_close+0x33/0x60 [nfsd]\\n[  143.575430]  nfsd_file_free+0x96/0x150 [nfsd]\\n[  143.576274]  nfsd_file_put+0xf7/0x1a0 [nfsd]\\n[  143.577104]  nfsd_file_put_local+0x18/0x30 [nfsd]\\n[  143.578070]  nfs_close_local_fh+0x101/0x110 [nfs_localio]\\n[  143.579079]  __put_nfs_open_context+0xc9/0x180 [nfs]\\n[  143.580031]  nfs_file_clear_open_context+0x4a/0x60 [nfs]\\n[  143.581038]  nfs_file_release+0x3e/0x60 [nfs]\\n[  143.581879]  __fput+0xe8/0x2d0\\n[  143.582464]  __fput_sync+0x1d/0x30\\n[  143.583108]  __x64_sys_close+0x41/0x80\\n[  143.583823]  x64_sys_call+0x189a/0x20d0\\n[  143.584552]  do_syscall_64+0x64/0x170\\n[  143.585240]  entry_SYSCALL_64_after_hwframe+0x76/0x7e\\n[  143.586185] RIP: 0033:0x7f3c5153efd7\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: nfs_common: no debe mantener la RCU mientras se llama a nfsd_file_put_local Mueva la retenci\u00f3n de la RCU de nfs_to_nfsd_file_put_local a nfs_to_nfsd_net_put. Es la llamada a nfs_to-\u0026gt;nfsd_serv_put la que requiere la RCU de todos modos (las puts para nfsd_file y netns se combinaron para evitar una referencia indirecta adicional, pero esa microoptimizaci\u00f3n ahora no es posible). Esto corrige xfstests generic/013 y su activaci\u00f3n: \\\"\u00a1Cambio de contexto voluntario dentro de la secci\u00f3n cr\u00edtica del lado de lectura de RCU!\\\" [ 143.545738] Seguimiento de llamadas: [ 143.546206]  [ 143.546625] ? asm_exc_invalid_op+0x1f/0x30 [ 143.551736] ? rcu_note_context_switch+0x496/0x5d0 [ 143.552634] ? wakeup_preempt+0x62/0x70 [ 143.553358] ? __schedule+0xaa/0x1380 [ 143.554025] ? _raw_spin_unlock_irqrestore+0x12/0x40 [ 143.554958] ? try_to_wake_up+0x1fe/0x6b0 [ 143.555715] ? xfs_efi_item_format+0x50/0xc0 [xfs] [ 143.559894] lectura_bajada+0x4e/0xb0 [ 143.560519] xlog_cil_commit+0x1b2/0xbc0 [xfs] [ 143.561460] ? xfs_inode_item_precommit+0xc7/0x220 [xfs] [ 143.563309] ? xfs_trans_run_precommits+0x69/0xd0 [xfs] [ 143.564394] __xfs_trans_commit+0xb5/0x330 [xfs] [ 143.565367] xfs_trans_roll+0x48/0xc0 [xfs] [ 143.566262] xfs_defer_trans_roll+0x57/0x100 [xfs] [ 143.567278] xfs_defer_finish_noroll+0x27a/0x490 [xfs] [ 143.568342] xfs_defer_finish+0x1a/0x80 [xfs] [ 143.569267] xfs_bunmapi_range+0x4d/0xb0 [xfs] [ 143.570208] xfs_itruncate_extents_flags+0x13d/0x230 [xfs] [ 143.571353] xfs_free_eofblocks+0x12e/0x190 [xfs] [ 143.572359] xfs_file_release+0x12d/0x140 [xfs] [ 143.573324] __fput+0xe8/0x2d0 [ 143.573922] __fput_sync+0x1d/0x30 [ 143.574574] nfsd_filp_close+0x33/0x60 [nfsd] [ 143.575430] nfsd_file_free+0x96/0x150 [nfsd] [ 143.576274] nfsd_file_put+0xf7/0x1a0 [nfsd] [ 143.577104] nfsd_file_put_local+0x18/0x30 [nfsd] [ 143.578070] nfs_close_local_fh+0x101/0x110 [nfs_localio] [ 143.579079] __put_nfs_open_context+0xc9/0x180 [nfs] [ 143.580031] nfs_file_clear_open_context+0x4a/0x60 [nfs] [ 143.581038] liberaci\u00f3n_archivo_nfs+0x3e/0x60 [nfs] [ 143.581879] __fput+0xe8/0x2d0 [ 143.582464] __fput_sync+0x1d/0x30 [ 143.583108] __x64_sys_close+0x41/0x80 [ 143.583823] llamada_sys_x64+0x189a/0x20d0 [ 143.584552] llamada_sys_64+0x64/0x170 [ 143.585240] entrada_SYSCALL_64_despu\u00e9s_hwframe+0x76/0x7e [ 143.586185] Descanse en paz: 0033:0x7f3c5153efd7\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H\",\"baseScore\":5.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":3.6},{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H\",\"baseScore\":5.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":3.6}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-667\"}]},{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-667\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.12\",\"versionEndExcluding\":\"6.12.2\",\"matchCriteriaId\":\"D8882B1B-2ABC-4838-AC1D-DBDBB5764776\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/3e6e3e97d64f50d9b6b1d62274f08925b1adbfc2\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/c840b8e1f039e90f97ca55525667eb961422f86c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]}]}}",
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 5.5, \"attackVector\": \"LOCAL\", \"baseSeverity\": \"MEDIUM\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H\", \"integrityImpact\": \"NONE\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"HIGH\", \"privilegesRequired\": \"LOW\", \"confidentialityImpact\": \"NONE\"}}, {\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-56743\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2025-10-01T19:57:34.841088Z\"}}}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-667\", \"description\": \"CWE-667 Improper Locking\"}]}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2025-10-01T15:49:20.646Z\"}}], \"cna\": {\"title\": \"nfs_common: must not hold RCU while calling nfsd_file_put_local\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"65f2a5c366353da6fa724c68347e1de954928143\", \"lessThan\": \"3e6e3e97d64f50d9b6b1d62274f08925b1adbfc2\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"65f2a5c366353da6fa724c68347e1de954928143\", \"lessThan\": \"c840b8e1f039e90f97ca55525667eb961422f86c\", \"versionType\": \"git\"}], \"programFiles\": [\"fs/nfs_common/nfslocalio.c\", \"fs/nfsd/filecache.c\", \"fs/nfsd/filecache.h\", \"include/linux/nfslocalio.h\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"6.12\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"6.12\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"6.12.2\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.12.*\"}, {\"status\": \"unaffected\", \"version\": \"6.13\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"fs/nfs_common/nfslocalio.c\", \"fs/nfsd/filecache.c\", \"fs/nfsd/filecache.h\", \"include/linux/nfslocalio.h\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/3e6e3e97d64f50d9b6b1d62274f08925b1adbfc2\"}, {\"url\": \"https://git.kernel.org/stable/c/c840b8e1f039e90f97ca55525667eb961422f86c\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nnfs_common: must not hold RCU while calling nfsd_file_put_local\\n\\nMove holding the RCU from nfs_to_nfsd_file_put_local to\\nnfs_to_nfsd_net_put.  It is the call to nfs_to-\u003enfsd_serv_put that\\nrequires the RCU anyway (the puts for nfsd_file and netns were\\ncombined to avoid an extra indirect reference but that\\nmicro-optimization isn\u0027t possible now).\\n\\nThis fixes xfstests generic/013 and it triggering:\\n\\n\\\"Voluntary context switch within RCU read-side critical section!\\\"\\n\\n[  143.545738] Call Trace:\\n[  143.546206]  \u003cTASK\u003e\\n[  143.546625]  ? show_regs+0x6d/0x80\\n[  143.547267]  ? __warn+0x91/0x140\\n[  143.547951]  ? rcu_note_context_switch+0x496/0x5d0\\n[  143.548856]  ? report_bug+0x193/0x1a0\\n[  143.549557]  ? handle_bug+0x63/0xa0\\n[  143.550214]  ? exc_invalid_op+0x1d/0x80\\n[  143.550938]  ? asm_exc_invalid_op+0x1f/0x30\\n[  143.551736]  ? rcu_note_context_switch+0x496/0x5d0\\n[  143.552634]  ? wakeup_preempt+0x62/0x70\\n[  143.553358]  __schedule+0xaa/0x1380\\n[  143.554025]  ? _raw_spin_unlock_irqrestore+0x12/0x40\\n[  143.554958]  ? try_to_wake_up+0x1fe/0x6b0\\n[  143.555715]  ? wake_up_process+0x19/0x20\\n[  143.556452]  schedule+0x2e/0x120\\n[  143.557066]  schedule_preempt_disabled+0x19/0x30\\n[  143.557933]  rwsem_down_read_slowpath+0x24d/0x4a0\\n[  143.558818]  ? xfs_efi_item_format+0x50/0xc0 [xfs]\\n[  143.559894]  down_read+0x4e/0xb0\\n[  143.560519]  xlog_cil_commit+0x1b2/0xbc0 [xfs]\\n[  143.561460]  ? _raw_spin_unlock+0x12/0x30\\n[  143.562212]  ? xfs_inode_item_precommit+0xc7/0x220 [xfs]\\n[  143.563309]  ? xfs_trans_run_precommits+0x69/0xd0 [xfs]\\n[  143.564394]  __xfs_trans_commit+0xb5/0x330 [xfs]\\n[  143.565367]  xfs_trans_roll+0x48/0xc0 [xfs]\\n[  143.566262]  xfs_defer_trans_roll+0x57/0x100 [xfs]\\n[  143.567278]  xfs_defer_finish_noroll+0x27a/0x490 [xfs]\\n[  143.568342]  xfs_defer_finish+0x1a/0x80 [xfs]\\n[  143.569267]  xfs_bunmapi_range+0x4d/0xb0 [xfs]\\n[  143.570208]  xfs_itruncate_extents_flags+0x13d/0x230 [xfs]\\n[  143.571353]  xfs_free_eofblocks+0x12e/0x190 [xfs]\\n[  143.572359]  xfs_file_release+0x12d/0x140 [xfs]\\n[  143.573324]  __fput+0xe8/0x2d0\\n[  143.573922]  __fput_sync+0x1d/0x30\\n[  143.574574]  nfsd_filp_close+0x33/0x60 [nfsd]\\n[  143.575430]  nfsd_file_free+0x96/0x150 [nfsd]\\n[  143.576274]  nfsd_file_put+0xf7/0x1a0 [nfsd]\\n[  143.577104]  nfsd_file_put_local+0x18/0x30 [nfsd]\\n[  143.578070]  nfs_close_local_fh+0x101/0x110 [nfs_localio]\\n[  143.579079]  __put_nfs_open_context+0xc9/0x180 [nfs]\\n[  143.580031]  nfs_file_clear_open_context+0x4a/0x60 [nfs]\\n[  143.581038]  nfs_file_release+0x3e/0x60 [nfs]\\n[  143.581879]  __fput+0xe8/0x2d0\\n[  143.582464]  __fput_sync+0x1d/0x30\\n[  143.583108]  __x64_sys_close+0x41/0x80\\n[  143.583823]  x64_sys_call+0x189a/0x20d0\\n[  143.584552]  do_syscall_64+0x64/0x170\\n[  143.585240]  entry_SYSCALL_64_after_hwframe+0x76/0x7e\\n[  143.586185] RIP: 0033:0x7f3c5153efd7\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.12.2\", \"versionStartIncluding\": \"6.12\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.13\", \"versionStartIncluding\": \"6.12\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2025-05-04T10:03:40.417Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2024-56743\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2025-10-01T20:07:03.949Z\", \"dateReserved\": \"2024-12-29T11:26:39.758Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-12-29T11:30:11.174Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }
  }
}


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.


Loading…