GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2024-47688 (GCVE-0-2024-47688)

Vulnerability from cvelistv5 – Published: 2024-10-21 11:53 – Updated: 2026-05-23 15:53
VLAI
Title
driver core: Fix a potential null-ptr-deref in module_add_driver()
Summary
In the Linux kernel, the following vulnerability has been resolved: driver core: Fix a potential null-ptr-deref in module_add_driver() Inject fault while probing of-fpga-region, if kasprintf() fails in module_add_driver(), the second sysfs_remove_link() in exit path will cause null-ptr-deref as below because kernfs_name_hash() will call strlen() with NULL driver_name. Fix it by releasing resources based on the exit path sequence. KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] Mem abort info: ESR = 0x0000000096000005 EC = 0x25: DABT (current EL), IL = 32 bits SET = 0, FnV = 0 EA = 0, S1PTW = 0 FSC = 0x05: level 1 translation fault Data abort info: ISV = 0, ISS = 0x00000005, ISS2 = 0x00000000 CM = 0, WnR = 0, TnD = 0, TagAccess = 0 GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0 [dfffffc000000000] address between user and kernel address ranges Internal error: Oops: 0000000096000005 [#1] PREEMPT SMP Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: of_fpga_region(+) fpga_region fpga_bridge cfg80211 rfkill 8021q garp mrp stp llc ipv6 [last unloaded: of_fpga_region] CPU: 2 UID: 0 PID: 2036 Comm: modprobe Not tainted 6.11.0-rc2-g6a0e38264012 #295 Hardware name: linux,dummy-virt (DT) pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : strlen+0x24/0xb0 lr : kernfs_name_hash+0x1c/0xc4 sp : ffffffc081f97380 x29: ffffffc081f97380 x28: ffffffc081f97b90 x27: ffffff80c821c2a0 x26: ffffffedac0be418 x25: 0000000000000000 x24: ffffff80c09d2000 x23: 0000000000000000 x22: 0000000000000000 x21: 0000000000000000 x20: 0000000000000000 x19: 0000000000000000 x18: 0000000000001840 x17: 0000000000000000 x16: 0000000000000000 x15: 1ffffff8103f2e42 x14: 00000000f1f1f1f1 x13: 0000000000000004 x12: ffffffb01812d61d x11: 1ffffff01812d61c x10: ffffffb01812d61c x9 : dfffffc000000000 x8 : 0000004fe7ed29e4 x7 : ffffff80c096b0e7 x6 : 0000000000000001 x5 : ffffff80c096b0e0 x4 : 1ffffffdb990efa2 x3 : 0000000000000000 x2 : 0000000000000000 x1 : dfffffc000000000 x0 : 0000000000000000 Call trace: strlen+0x24/0xb0 kernfs_name_hash+0x1c/0xc4 kernfs_find_ns+0x118/0x2e8 kernfs_remove_by_name_ns+0x80/0x100 sysfs_remove_link+0x74/0xa8 module_add_driver+0x278/0x394 bus_add_driver+0x1f0/0x43c driver_register+0xf4/0x3c0 __platform_driver_register+0x60/0x88 of_fpga_region_init+0x20/0x1000 [of_fpga_region] do_one_initcall+0x110/0x788 do_init_module+0x1dc/0x5c8 load_module+0x3c38/0x4cac init_module_from_file+0xd4/0x128 idempotent_init_module+0x2cc/0x528 __arm64_sys_finit_module+0xac/0x100 invoke_syscall+0x6c/0x258 el0_svc_common.constprop.0+0x160/0x22c do_el0_svc+0x44/0x5c el0_svc+0x48/0xb8 el0t_64_sync_handler+0x13c/0x158 el0t_64_sync+0x190/0x194 Code: f2fbffe1 a90157f4 12000802 aa0003f5 (38e16861) ---[ end trace 0000000000000000 ]--- Kernel panic - not syncing: Oops: Fatal exception
Severity
No CVSS data available.
SSVC
Exploitation: none Automatable: no Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2024-10-21 13:06 UTC
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 28f5a08600d0ea6831629d450193c4045094e729 , < b8e45b910525704010d10c9dcbf2abf3005aa97c (git)
Affected: 85d2b0aa170351380be39fe4ff7973df1427fe76 , < 4b5d48b7a29cc6d508121a4b4e0c97a891e5273c (git)
Affected: 85d2b0aa170351380be39fe4ff7973df1427fe76 , < dcb9d581dee4c23f2378b6650511ece80dda4e2f (git)
Affected: 85d2b0aa170351380be39fe4ff7973df1427fe76 , < 18ec12c97b39ff6aa15beb8d2b25d15cd44b87d8 (git)
Affected: 51dacb1b0467b616463a334cbcd048f5710ba2aa (git)
Affected: 6.6.33 , < 6.6.54 (semver)
Affected: 6.9.4 , < 6.10 (semver)
guessed Create a notification for this product.
Linux Linux Affected: 6.10
Unaffected: 0 , < 6.10 (semver)
Unaffected: 6.6.54 , ≤ 6.6.* (semver)
Unaffected: 6.10.13 , ≤ 6.10.* (semver)
Unaffected: 6.11.2 , ≤ 6.11.* (semver)
Unaffected: 6.12 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2024-47688",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-10-21T13:06:20.271909Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-10-21T13:14:15.570Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/base/module.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "b8e45b910525704010d10c9dcbf2abf3005aa97c",
              "status": "affected",
              "version": "28f5a08600d0ea6831629d450193c4045094e729",
              "versionType": "git"
            },
            {
              "lessThan": "4b5d48b7a29cc6d508121a4b4e0c97a891e5273c",
              "status": "affected",
              "version": "85d2b0aa170351380be39fe4ff7973df1427fe76",
              "versionType": "git"
            },
            {
              "lessThan": "dcb9d581dee4c23f2378b6650511ece80dda4e2f",
              "status": "affected",
              "version": "85d2b0aa170351380be39fe4ff7973df1427fe76",
              "versionType": "git"
            },
            {
              "lessThan": "18ec12c97b39ff6aa15beb8d2b25d15cd44b87d8",
              "status": "affected",
              "version": "85d2b0aa170351380be39fe4ff7973df1427fe76",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "51dacb1b0467b616463a334cbcd048f5710ba2aa",
              "versionType": "git"
            },
            {
              "lessThan": "6.6.54",
              "status": "affected",
              "version": "6.6.33",
              "versionType": "semver"
            },
            {
              "lessThan": "6.10",
              "status": "affected",
              "version": "6.9.4",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/base/module.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.10"
            },
            {
              "lessThan": "6.10",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.54",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.10.*",
              "status": "unaffected",
              "version": "6.10.13",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.11.*",
              "status": "unaffected",
              "version": "6.11.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.12",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.54",
                  "versionStartIncluding": "6.6.33",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.10.13",
                  "versionStartIncluding": "6.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.11.2",
                  "versionStartIncluding": "6.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12",
                  "versionStartIncluding": "6.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "6.9.4",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndriver core: Fix a potential null-ptr-deref in module_add_driver()\n\nInject fault while probing of-fpga-region, if kasprintf() fails in\nmodule_add_driver(), the second sysfs_remove_link() in exit path will cause\nnull-ptr-deref as below because kernfs_name_hash() will call strlen() with\nNULL driver_name.\n\nFix it by releasing resources based on the exit path sequence.\n\n\t KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]\n\t Mem abort info:\n\t   ESR = 0x0000000096000005\n\t   EC = 0x25: DABT (current EL), IL = 32 bits\n\t   SET = 0, FnV = 0\n\t   EA = 0, S1PTW = 0\n\t   FSC = 0x05: level 1 translation fault\n\t Data abort info:\n\t   ISV = 0, ISS = 0x00000005, ISS2 = 0x00000000\n\t   CM = 0, WnR = 0, TnD = 0, TagAccess = 0\n\t   GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0\n\t [dfffffc000000000] address between user and kernel address ranges\n\t Internal error: Oops: 0000000096000005 [#1] PREEMPT SMP\n\t Dumping ftrace buffer:\n\t    (ftrace buffer empty)\n\t Modules linked in: of_fpga_region(+) fpga_region fpga_bridge cfg80211 rfkill 8021q garp mrp stp llc ipv6 [last unloaded: of_fpga_region]\n\t CPU: 2 UID: 0 PID: 2036 Comm: modprobe Not tainted 6.11.0-rc2-g6a0e38264012 #295\n\t Hardware name: linux,dummy-virt (DT)\n\t pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)\n\t pc : strlen+0x24/0xb0\n\t lr : kernfs_name_hash+0x1c/0xc4\n\t sp : ffffffc081f97380\n\t x29: ffffffc081f97380 x28: ffffffc081f97b90 x27: ffffff80c821c2a0\n\t x26: ffffffedac0be418 x25: 0000000000000000 x24: ffffff80c09d2000\n\t x23: 0000000000000000 x22: 0000000000000000 x21: 0000000000000000\n\t x20: 0000000000000000 x19: 0000000000000000 x18: 0000000000001840\n\t x17: 0000000000000000 x16: 0000000000000000 x15: 1ffffff8103f2e42\n\t x14: 00000000f1f1f1f1 x13: 0000000000000004 x12: ffffffb01812d61d\n\t x11: 1ffffff01812d61c x10: ffffffb01812d61c x9 : dfffffc000000000\n\t x8 : 0000004fe7ed29e4 x7 : ffffff80c096b0e7 x6 : 0000000000000001\n\t x5 : ffffff80c096b0e0 x4 : 1ffffffdb990efa2 x3 : 0000000000000000\n\t x2 : 0000000000000000 x1 : dfffffc000000000 x0 : 0000000000000000\n\t Call trace:\n\t  strlen+0x24/0xb0\n\t  kernfs_name_hash+0x1c/0xc4\n\t  kernfs_find_ns+0x118/0x2e8\n\t  kernfs_remove_by_name_ns+0x80/0x100\n\t  sysfs_remove_link+0x74/0xa8\n\t  module_add_driver+0x278/0x394\n\t  bus_add_driver+0x1f0/0x43c\n\t  driver_register+0xf4/0x3c0\n\t  __platform_driver_register+0x60/0x88\n\t  of_fpga_region_init+0x20/0x1000 [of_fpga_region]\n\t  do_one_initcall+0x110/0x788\n\t  do_init_module+0x1dc/0x5c8\n\t  load_module+0x3c38/0x4cac\n\t  init_module_from_file+0xd4/0x128\n\t  idempotent_init_module+0x2cc/0x528\n\t  __arm64_sys_finit_module+0xac/0x100\n\t  invoke_syscall+0x6c/0x258\n\t  el0_svc_common.constprop.0+0x160/0x22c\n\t  do_el0_svc+0x44/0x5c\n\t  el0_svc+0x48/0xb8\n\t  el0t_64_sync_handler+0x13c/0x158\n\t  el0t_64_sync+0x190/0x194\n\t Code: f2fbffe1 a90157f4 12000802 aa0003f5 (38e16861)\n\t ---[ end trace 0000000000000000 ]---\n\t Kernel panic - not syncing: Oops: Fatal exception"
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-05-23T15:53:40.177Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/b8e45b910525704010d10c9dcbf2abf3005aa97c"
        },
        {
          "url": "https://git.kernel.org/stable/c/4b5d48b7a29cc6d508121a4b4e0c97a891e5273c"
        },
        {
          "url": "https://git.kernel.org/stable/c/dcb9d581dee4c23f2378b6650511ece80dda4e2f"
        },
        {
          "url": "https://git.kernel.org/stable/c/18ec12c97b39ff6aa15beb8d2b25d15cd44b87d8"
        }
      ],
      "title": "driver core: Fix a potential null-ptr-deref in module_add_driver()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-47688",
    "datePublished": "2024-10-21T11:53:28.526Z",
    "dateReserved": "2024-09-30T16:00:12.941Z",
    "dateUpdated": "2026-05-23T15:53:40.177Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2024-47688",
      "date": "2026-09-17",
      "epss": "0.00235",
      "percentile": "0.14615"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2024-47688\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-10-21T12:15:05.653\",\"lastModified\":\"2026-06-17T07:57:32.633\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\ndriver core: Fix a potential null-ptr-deref in module_add_driver()\\n\\nInject fault while probing of-fpga-region, if kasprintf() fails in\\nmodule_add_driver(), the second sysfs_remove_link() in exit path will cause\\nnull-ptr-deref as below because kernfs_name_hash() will call strlen() with\\nNULL driver_name.\\n\\nFix it by releasing resources based on the exit path sequence.\\n\\n\\t KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]\\n\\t Mem abort info:\\n\\t   ESR = 0x0000000096000005\\n\\t   EC = 0x25: DABT (current EL), IL = 32 bits\\n\\t   SET = 0, FnV = 0\\n\\t   EA = 0, S1PTW = 0\\n\\t   FSC = 0x05: level 1 translation fault\\n\\t Data abort info:\\n\\t   ISV = 0, ISS = 0x00000005, ISS2 = 0x00000000\\n\\t   CM = 0, WnR = 0, TnD = 0, TagAccess = 0\\n\\t   GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0\\n\\t [dfffffc000000000] address between user and kernel address ranges\\n\\t Internal error: Oops: 0000000096000005 [#1] PREEMPT SMP\\n\\t Dumping ftrace buffer:\\n\\t    (ftrace buffer empty)\\n\\t Modules linked in: of_fpga_region(+) fpga_region fpga_bridge cfg80211 rfkill 8021q garp mrp stp llc ipv6 [last unloaded: of_fpga_region]\\n\\t CPU: 2 UID: 0 PID: 2036 Comm: modprobe Not tainted 6.11.0-rc2-g6a0e38264012 #295\\n\\t Hardware name: linux,dummy-virt (DT)\\n\\t pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)\\n\\t pc : strlen+0x24/0xb0\\n\\t lr : kernfs_name_hash+0x1c/0xc4\\n\\t sp : ffffffc081f97380\\n\\t x29: ffffffc081f97380 x28: ffffffc081f97b90 x27: ffffff80c821c2a0\\n\\t x26: ffffffedac0be418 x25: 0000000000000000 x24: ffffff80c09d2000\\n\\t x23: 0000000000000000 x22: 0000000000000000 x21: 0000000000000000\\n\\t x20: 0000000000000000 x19: 0000000000000000 x18: 0000000000001840\\n\\t x17: 0000000000000000 x16: 0000000000000000 x15: 1ffffff8103f2e42\\n\\t x14: 00000000f1f1f1f1 x13: 0000000000000004 x12: ffffffb01812d61d\\n\\t x11: 1ffffff01812d61c x10: ffffffb01812d61c x9 : dfffffc000000000\\n\\t x8 : 0000004fe7ed29e4 x7 : ffffff80c096b0e7 x6 : 0000000000000001\\n\\t x5 : ffffff80c096b0e0 x4 : 1ffffffdb990efa2 x3 : 0000000000000000\\n\\t x2 : 0000000000000000 x1 : dfffffc000000000 x0 : 0000000000000000\\n\\t Call trace:\\n\\t  strlen+0x24/0xb0\\n\\t  kernfs_name_hash+0x1c/0xc4\\n\\t  kernfs_find_ns+0x118/0x2e8\\n\\t  kernfs_remove_by_name_ns+0x80/0x100\\n\\t  sysfs_remove_link+0x74/0xa8\\n\\t  module_add_driver+0x278/0x394\\n\\t  bus_add_driver+0x1f0/0x43c\\n\\t  driver_register+0xf4/0x3c0\\n\\t  __platform_driver_register+0x60/0x88\\n\\t  of_fpga_region_init+0x20/0x1000 [of_fpga_region]\\n\\t  do_one_initcall+0x110/0x788\\n\\t  do_init_module+0x1dc/0x5c8\\n\\t  load_module+0x3c38/0x4cac\\n\\t  init_module_from_file+0xd4/0x128\\n\\t  idempotent_init_module+0x2cc/0x528\\n\\t  __arm64_sys_finit_module+0xac/0x100\\n\\t  invoke_syscall+0x6c/0x258\\n\\t  el0_svc_common.constprop.0+0x160/0x22c\\n\\t  do_el0_svc+0x44/0x5c\\n\\t  el0_svc+0x48/0xb8\\n\\t  el0t_64_sync_handler+0x13c/0x158\\n\\t  el0t_64_sync+0x190/0x194\\n\\t Code: f2fbffe1 a90157f4 12000802 aa0003f5 (38e16861)\\n\\t ---[ end trace 0000000000000000 ]---\\n\\t Kernel panic - not syncing: Oops: Fatal exception\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: n\u00facleo del controlador: se corrige un posible error de inyecci\u00f3n de ptr nulo en module_add_driver() mientras se sondea la regi\u00f3n de fpga. Si kasprintf() falla en module_add_driver(), el segundo sysfs_remove_link() en la ruta de salida provocar\u00e1 un error de ptr nulo como se muestra a continuaci\u00f3n, ya que kernfs_name_hash() llamar\u00e1 a strlen() con driver_name NULL. Se soluciona liberando recursos seg\u00fan la secuencia de la ruta de salida. KASAN: null-ptr-deref en el rango [0x0000000000000000-0x0000000000000007] Informaci\u00f3n de cancelaci\u00f3n de memoria: ESR = 0x0000000096000005 EC = 0x25: DABT (EL actual), IL = 32 bits SET = 0, FnV = 0 EA = 0, S1PTW = 0 FSC = 0x05: error de traducci\u00f3n de nivel 1 Informaci\u00f3n de cancelaci\u00f3n de datos: ISV = 0, ISS = 0x00000005, ISS2 = 0x00000000 CM = 0, WnR = 0, TnD = 0, TagAccess = 0 GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0 [dfffffc000000000] direcci\u00f3n entre rangos de direcciones de usuario y kernel Error interno: Oops: 0000000096000005 [#1] PREEMPT SMP Dumping ftrace buffer: (ftrace buffer empty) M\u00f3dulos vinculados en: of_fpga_region(+) fpga_region fpga_bridge cfg80211 rfkill 8021q garp mrp stp llc ipv6 [\u00faltima descarga: of_fpga_region] CPU: 2 UID: 0 PID: 2036 Comm: modprobe No contaminado 6.11.0-rc2-g6a0e38264012 #295 Nombre del hardware: linux,dummy-virt (DT) pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : strlen+0x24/0xb0 lr : hash_nombre_kernfs+0x1c/0xc4 sp : ffffffc081f97380 x29: ffffffc081f97380 x28: ffffffc081f97b90 x27: ffffff80c821c2a0 x26: ffffffedac0be418 x25: 0000000000000000 x24: ffffff80c09d2000 x23: 0000000000000000 x22: 0000000000000000 x21: 0000000000000000 x20: 0000000000000000 x19: 0000000000000000 x18: 00000000000001840 x17: 0000000000000000 x16: 0000000000000000 x15: 1ffffff8103f2e42 x14: 00000000f1f1f1f1 x13: 0000000000000004 x12: ffffffb01812d61d x11: 1ffffff01812d61c x10: ffffffb01812d61c x9: dfffffc000000000 x8: 0000004fe7ed29e4 x7 : ffffff80c096b0e7 x6 : 0000000000000001 x5 : ffffff80c096b0e0 x4 : 1ffffffdb990efa2 x3 : 000000000000000 x2 : 000000000000000 x1 : dfffffc000000000 x0 : 0000000000000000 Rastreo de llamadas: strlen+0x24/0xb0 kernfs_name_hash+0x1c/0xc4 kernfs_find_ns+0x118/0x2e8 kernfs_remove_by_name_ns+0x80/0x100 sysfs_remove_link+0x74/0xa8 m\u00f3dulo_agregar_controlador+0x278/0x394 bus_agregar_controlador+0x1f0/0x43c registro_controlador+0xf4/0x3c0 __registro_controlador_plataforma+0x60/0x88 de_regi\u00f3n_fpga_init+0x20/0x1000 [de_regi\u00f3n_fpga] hacer_una_llamada_inicio+0x110/0x788 hacer_m\u00f3dulo_inicio+0x1dc/0x5c8 cargar_m\u00f3dulo+0x3c38/0x4cac m\u00f3dulo_inicio_desde_archivo+0xd4/0x128 idempotent_init_module+0x2cc/0x528 __arm64_sys_finit_module+0xac/0x100 anybody_syscall+0x6c/0x258 el0_svc_common.constprop.0+0x160/0x22c do_el0_svc+0x44/0x5c el0_svc+0x48/0xb8 el0t_64_sync_handler+0x13c/0x158 el0t_64_sync+0x190/0x194 C\u00f3digo: f2fbffe1 a90157f4 12000802 aa0003f5 (38e16861) ---[ fin del seguimiento 0000000000000000 ]--- P\u00e1nico del kernel: no se sincroniza: Ups: excepci\u00f3n fatal\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/base/module.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"28f5a08600d0ea6831629d450193c4045094e729\",\"lessThan\":\"b8e45b910525704010d10c9dcbf2abf3005aa97c\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"85d2b0aa170351380be39fe4ff7973df1427fe76\",\"lessThan\":\"4b5d48b7a29cc6d508121a4b4e0c97a891e5273c\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"85d2b0aa170351380be39fe4ff7973df1427fe76\",\"lessThan\":\"dcb9d581dee4c23f2378b6650511ece80dda4e2f\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"85d2b0aa170351380be39fe4ff7973df1427fe76\",\"lessThan\":\"18ec12c97b39ff6aa15beb8d2b25d15cd44b87d8\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"51dacb1b0467b616463a334cbcd048f5710ba2aa\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"6.6.33\",\"lessThan\":\"6.6.54\",\"versionType\":\"semver\",\"status\":\"affected\"},{\"version\":\"6.9.4\",\"lessThan\":\"6.10\",\"versionType\":\"semver\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/base/module.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"6.10\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"6.10\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.54\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.10.13\",\"lessThanOrEqual\":\"6.10.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.11.2\",\"lessThanOrEqual\":\"6.11.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"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}],\"ssvcV203\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"ssvcData\":{\"timestamp\":\"2024-10-21T13:06:20.271909Z\",\"id\":\"CVE-2024-47688\",\"options\":[{\"exploitation\":\"none\"},{\"automatable\":\"no\"},{\"technicalImpact\":\"partial\"}],\"role\":\"CISA Coordinator\",\"version\":\"2.0.3\"}}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-476\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.6.33\",\"versionEndExcluding\":\"6.6.54\",\"matchCriteriaId\":\"EDE65514-BE18-441F-BC12-FD7B0412ACAF\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.9.4\",\"versionEndExcluding\":\"6.10\",\"matchCriteriaId\":\"1AD9A837-E824-444A-8442-914E09BE6199\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.10\",\"versionEndExcluding\":\"6.10.13\",\"matchCriteriaId\":\"767D4D2D-C6E7-4B7D-9446-CFC8F8FF2FBB\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.11\",\"versionEndExcluding\":\"6.11.2\",\"matchCriteriaId\":\"AB755D26-97F4-43B6-8604-CD076811E181\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/18ec12c97b39ff6aa15beb8d2b25d15cd44b87d8\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/4b5d48b7a29cc6d508121a4b4e0c97a891e5273c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/b8e45b910525704010d10c9dcbf2abf3005aa97c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/dcb9d581dee4c23f2378b6650511ece80dda4e2f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2025-11-21T14:21:54+00:00",
      "cve": "CVE-2024-47688",
      "id": "CVE-2024-47688",
      "initial_release_date": "2024-10-21T00:00:00+00:00",
      "product_status:known_affected": "42",
      "product_status:known_not_affected": "156",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: driver core: Fix a potential null-ptr-deref in module_add_driver()",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-47688.json",
      "version": "3"
    },
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-47688\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-10-21T13:06:20.271909Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-10-21T13:06:23.951Z\"}}], \"cna\": {\"title\": \"driver core: Fix a potential null-ptr-deref in module_add_driver()\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"28f5a08600d0ea6831629d450193c4045094e729\", \"lessThan\": \"b8e45b910525704010d10c9dcbf2abf3005aa97c\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"85d2b0aa170351380be39fe4ff7973df1427fe76\", \"lessThan\": \"4b5d48b7a29cc6d508121a4b4e0c97a891e5273c\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"85d2b0aa170351380be39fe4ff7973df1427fe76\", \"lessThan\": \"dcb9d581dee4c23f2378b6650511ece80dda4e2f\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"85d2b0aa170351380be39fe4ff7973df1427fe76\", \"lessThan\": \"18ec12c97b39ff6aa15beb8d2b25d15cd44b87d8\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"51dacb1b0467b616463a334cbcd048f5710ba2aa\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"6.6.33\", \"lessThan\": \"6.6.54\", \"versionType\": \"semver\"}, {\"status\": \"affected\", \"version\": \"6.9.4\", \"lessThan\": \"6.10\", \"versionType\": \"semver\"}], \"programFiles\": [\"drivers/base/module.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"6.10\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"6.10\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"6.6.54\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.6.*\"}, {\"status\": \"unaffected\", \"version\": \"6.10.13\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.10.*\"}, {\"status\": \"unaffected\", \"version\": \"6.11.2\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.11.*\"}, {\"status\": \"unaffected\", \"version\": \"6.12\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"drivers/base/module.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/b8e45b910525704010d10c9dcbf2abf3005aa97c\"}, {\"url\": \"https://git.kernel.org/stable/c/4b5d48b7a29cc6d508121a4b4e0c97a891e5273c\"}, {\"url\": \"https://git.kernel.org/stable/c/dcb9d581dee4c23f2378b6650511ece80dda4e2f\"}, {\"url\": \"https://git.kernel.org/stable/c/18ec12c97b39ff6aa15beb8d2b25d15cd44b87d8\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\ndriver core: Fix a potential null-ptr-deref in module_add_driver()\\n\\nInject fault while probing of-fpga-region, if kasprintf() fails in\\nmodule_add_driver(), the second sysfs_remove_link() in exit path will cause\\nnull-ptr-deref as below because kernfs_name_hash() will call strlen() with\\nNULL driver_name.\\n\\nFix it by releasing resources based on the exit path sequence.\\n\\n\\t KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]\\n\\t Mem abort info:\\n\\t   ESR = 0x0000000096000005\\n\\t   EC = 0x25: DABT (current EL), IL = 32 bits\\n\\t   SET = 0, FnV = 0\\n\\t   EA = 0, S1PTW = 0\\n\\t   FSC = 0x05: level 1 translation fault\\n\\t Data abort info:\\n\\t   ISV = 0, ISS = 0x00000005, ISS2 = 0x00000000\\n\\t   CM = 0, WnR = 0, TnD = 0, TagAccess = 0\\n\\t   GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0\\n\\t [dfffffc000000000] address between user and kernel address ranges\\n\\t Internal error: Oops: 0000000096000005 [#1] PREEMPT SMP\\n\\t Dumping ftrace buffer:\\n\\t    (ftrace buffer empty)\\n\\t Modules linked in: of_fpga_region(+) fpga_region fpga_bridge cfg80211 rfkill 8021q garp mrp stp llc ipv6 [last unloaded: of_fpga_region]\\n\\t CPU: 2 UID: 0 PID: 2036 Comm: modprobe Not tainted 6.11.0-rc2-g6a0e38264012 #295\\n\\t Hardware name: linux,dummy-virt (DT)\\n\\t pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)\\n\\t pc : strlen+0x24/0xb0\\n\\t lr : kernfs_name_hash+0x1c/0xc4\\n\\t sp : ffffffc081f97380\\n\\t x29: ffffffc081f97380 x28: ffffffc081f97b90 x27: ffffff80c821c2a0\\n\\t x26: ffffffedac0be418 x25: 0000000000000000 x24: ffffff80c09d2000\\n\\t x23: 0000000000000000 x22: 0000000000000000 x21: 0000000000000000\\n\\t x20: 0000000000000000 x19: 0000000000000000 x18: 0000000000001840\\n\\t x17: 0000000000000000 x16: 0000000000000000 x15: 1ffffff8103f2e42\\n\\t x14: 00000000f1f1f1f1 x13: 0000000000000004 x12: ffffffb01812d61d\\n\\t x11: 1ffffff01812d61c x10: ffffffb01812d61c x9 : dfffffc000000000\\n\\t x8 : 0000004fe7ed29e4 x7 : ffffff80c096b0e7 x6 : 0000000000000001\\n\\t x5 : ffffff80c096b0e0 x4 : 1ffffffdb990efa2 x3 : 0000000000000000\\n\\t x2 : 0000000000000000 x1 : dfffffc000000000 x0 : 0000000000000000\\n\\t Call trace:\\n\\t  strlen+0x24/0xb0\\n\\t  kernfs_name_hash+0x1c/0xc4\\n\\t  kernfs_find_ns+0x118/0x2e8\\n\\t  kernfs_remove_by_name_ns+0x80/0x100\\n\\t  sysfs_remove_link+0x74/0xa8\\n\\t  module_add_driver+0x278/0x394\\n\\t  bus_add_driver+0x1f0/0x43c\\n\\t  driver_register+0xf4/0x3c0\\n\\t  __platform_driver_register+0x60/0x88\\n\\t  of_fpga_region_init+0x20/0x1000 [of_fpga_region]\\n\\t  do_one_initcall+0x110/0x788\\n\\t  do_init_module+0x1dc/0x5c8\\n\\t  load_module+0x3c38/0x4cac\\n\\t  init_module_from_file+0xd4/0x128\\n\\t  idempotent_init_module+0x2cc/0x528\\n\\t  __arm64_sys_finit_module+0xac/0x100\\n\\t  invoke_syscall+0x6c/0x258\\n\\t  el0_svc_common.constprop.0+0x160/0x22c\\n\\t  do_el0_svc+0x44/0x5c\\n\\t  el0_svc+0x48/0xb8\\n\\t  el0t_64_sync_handler+0x13c/0x158\\n\\t  el0t_64_sync+0x190/0x194\\n\\t Code: f2fbffe1 a90157f4 12000802 aa0003f5 (38e16861)\\n\\t ---[ end trace 0000000000000000 ]---\\n\\t Kernel panic - not syncing: Oops: Fatal exception\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.6.54\", \"versionStartIncluding\": \"6.6.33\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.10.13\", \"versionStartIncluding\": \"6.10\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.11.2\", \"versionStartIncluding\": \"6.10\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.12\", \"versionStartIncluding\": \"6.10\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionStartIncluding\": \"6.9.4\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-05-23T15:53:40.177Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2024-47688\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-05-23T15:53:40.177Z\", \"dateReserved\": \"2024-09-30T16:00:12.941Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-10-21T11:53:28.526Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…