CVE-2023-53256 (GCVE-0-2023-53256)

Vulnerability from cvelistv5 – Published: 2025-09-15 14:46 – Updated: 2025-09-15 14:46
VLAI?
Summary
In the Linux kernel, the following vulnerability has been resolved: firmware: arm_ffa: Fix FFA device names for logical partitions Each physical partition can provide multiple services each with UUID. Each such service can be presented as logical partition with a unique combination of VM ID and UUID. The number of distinct UUID in a system will be less than or equal to the number of logical partitions. However, currently it fails to register more than one logical partition or service within a physical partition as the device name contains only VM ID while both VM ID and UUID are maintained in the partition information. The kernel complains with the below message: | sysfs: cannot create duplicate filename '/devices/arm-ffa-8001' | CPU: 1 PID: 1 Comm: swapper/0 Not tainted 6.3.0-rc7 #8 | Hardware name: FVP Base RevC (DT) | Call trace: | dump_backtrace+0xf8/0x118 | show_stack+0x18/0x24 | dump_stack_lvl+0x50/0x68 | dump_stack+0x18/0x24 | sysfs_create_dir_ns+0xe0/0x13c | kobject_add_internal+0x220/0x3d4 | kobject_add+0x94/0x100 | device_add+0x144/0x5d8 | device_register+0x20/0x30 | ffa_device_register+0x88/0xd8 | ffa_setup_partitions+0x108/0x1b8 | ffa_init+0x2ec/0x3a4 | do_one_initcall+0xcc/0x240 | do_initcall_level+0x8c/0xac | do_initcalls+0x54/0x94 | do_basic_setup+0x1c/0x28 | kernel_init_freeable+0x100/0x16c | kernel_init+0x20/0x1a0 | ret_from_fork+0x10/0x20 | kobject_add_internal failed for arm-ffa-8001 with -EEXIST, don't try to | register things with the same name in the same directory. | arm_ffa arm-ffa: unable to register device arm-ffa-8001 err=-17 | ARM FF-A: ffa_setup_partitions: failed to register partition ID 0x8001 By virtue of being random enough to avoid collisions when generated in a distributed system, there is no way to compress UUID keys to the number of bits required to identify each. We can eliminate '-' in the name but it is not worth eliminating 4 bytes and add unnecessary logic for doing that. Also v1.0 doesn't provide the UUID of the partitions which makes it hard to use the same for the device name. So to keep it simple, let us alloc an ID using ida_alloc() and append the same to "arm-ffa" to make up a unique device name. Also stash the id value in ffa_dev to help freeing the ID later when the device is destroyed.
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: e781858488b918e30a6ff28e9eab6058b787e3b3 , < c2f65991097a62efbdb2bed3c06fc86b08c9593b (git)
Affected: e781858488b918e30a6ff28e9eab6058b787e3b3 , < dfc5aaa57f52a5800c339369d235fa30fb734feb (git)
Affected: e781858488b918e30a6ff28e9eab6058b787e3b3 , < 93d0cbe88118fcef234d3ebcbdadcb9ebe9d34f1 (git)
Affected: e781858488b918e30a6ff28e9eab6058b787e3b3 , < 19b8766459c41c6f318f8a548cc1c66dffd18363 (git)
Create a notification for this product.
    Linux Linux Affected: 5.14
Unaffected: 0 , < 5.14 (semver)
Unaffected: 5.15.114 , ≤ 5.15.* (semver)
Unaffected: 6.1.31 , ≤ 6.1.* (semver)
Unaffected: 6.3.5 , ≤ 6.3.* (semver)
Unaffected: 6.4 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/firmware/arm_ffa/bus.c",
            "include/linux/arm_ffa.h"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "c2f65991097a62efbdb2bed3c06fc86b08c9593b",
              "status": "affected",
              "version": "e781858488b918e30a6ff28e9eab6058b787e3b3",
              "versionType": "git"
            },
            {
              "lessThan": "dfc5aaa57f52a5800c339369d235fa30fb734feb",
              "status": "affected",
              "version": "e781858488b918e30a6ff28e9eab6058b787e3b3",
              "versionType": "git"
            },
            {
              "lessThan": "93d0cbe88118fcef234d3ebcbdadcb9ebe9d34f1",
              "status": "affected",
              "version": "e781858488b918e30a6ff28e9eab6058b787e3b3",
              "versionType": "git"
            },
            {
              "lessThan": "19b8766459c41c6f318f8a548cc1c66dffd18363",
              "status": "affected",
              "version": "e781858488b918e30a6ff28e9eab6058b787e3b3",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/firmware/arm_ffa/bus.c",
            "include/linux/arm_ffa.h"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.14"
            },
            {
              "lessThan": "5.14",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.114",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.31",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.3.*",
              "status": "unaffected",
              "version": "6.3.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.4",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.114",
                  "versionStartIncluding": "5.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.31",
                  "versionStartIncluding": "5.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.3.5",
                  "versionStartIncluding": "5.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.4",
                  "versionStartIncluding": "5.14",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nfirmware: arm_ffa: Fix FFA device names for logical partitions\n\nEach physical partition can provide multiple services each with UUID.\nEach such service can be presented as logical partition with a unique\ncombination of VM ID and UUID. The number of distinct UUID in a system\nwill be less than or equal to the number of logical partitions.\n\nHowever, currently it fails to register more than one logical partition\nor service within a physical partition as the device name contains only\nVM ID while both VM ID and UUID are maintained in the partition information.\nThe kernel complains with the below message:\n\n  | sysfs: cannot create duplicate filename \u0027/devices/arm-ffa-8001\u0027\n  | CPU: 1 PID: 1 Comm: swapper/0 Not tainted 6.3.0-rc7 #8\n  | Hardware name: FVP Base RevC (DT)\n  | Call trace:\n  |  dump_backtrace+0xf8/0x118\n  |  show_stack+0x18/0x24\n  |  dump_stack_lvl+0x50/0x68\n  |  dump_stack+0x18/0x24\n  |  sysfs_create_dir_ns+0xe0/0x13c\n  |  kobject_add_internal+0x220/0x3d4\n  |  kobject_add+0x94/0x100\n  |  device_add+0x144/0x5d8\n  |  device_register+0x20/0x30\n  |  ffa_device_register+0x88/0xd8\n  |  ffa_setup_partitions+0x108/0x1b8\n  |  ffa_init+0x2ec/0x3a4\n  |  do_one_initcall+0xcc/0x240\n  |  do_initcall_level+0x8c/0xac\n  |  do_initcalls+0x54/0x94\n  |  do_basic_setup+0x1c/0x28\n  |  kernel_init_freeable+0x100/0x16c\n  |  kernel_init+0x20/0x1a0\n  |  ret_from_fork+0x10/0x20\n  | kobject_add_internal failed for arm-ffa-8001 with -EEXIST, don\u0027t try to\n  | register things with the same name in the same directory.\n  | arm_ffa arm-ffa: unable to register device arm-ffa-8001 err=-17\n  | ARM FF-A: ffa_setup_partitions: failed to register partition ID 0x8001\n\nBy virtue of being random enough to avoid collisions when generated in a\ndistributed system, there is no way to compress UUID keys to the number\nof bits required to identify each. We can eliminate \u0027-\u0027 in the name but\nit is not worth eliminating 4 bytes and add unnecessary logic for doing\nthat. Also v1.0 doesn\u0027t provide the UUID of the partitions which makes\nit hard to use the same for the device name.\n\nSo to keep it simple, let us alloc an ID using ida_alloc() and append the\nsame to \"arm-ffa\" to make up a unique device name. Also stash the id value\nin ffa_dev to help freeing the ID later when the device is destroyed."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-09-15T14:46:28.024Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/c2f65991097a62efbdb2bed3c06fc86b08c9593b"
        },
        {
          "url": "https://git.kernel.org/stable/c/dfc5aaa57f52a5800c339369d235fa30fb734feb"
        },
        {
          "url": "https://git.kernel.org/stable/c/93d0cbe88118fcef234d3ebcbdadcb9ebe9d34f1"
        },
        {
          "url": "https://git.kernel.org/stable/c/19b8766459c41c6f318f8a548cc1c66dffd18363"
        }
      ],
      "title": "firmware: arm_ffa: Fix FFA device names for logical partitions",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-53256",
    "datePublished": "2025-09-15T14:46:28.024Z",
    "dateReserved": "2025-09-15T14:19:21.849Z",
    "dateUpdated": "2025-09-15T14:46:28.024Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2023-53256\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-09-15T15:15:52.980\",\"lastModified\":\"2025-12-03T17:04:38.433\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nfirmware: arm_ffa: Fix FFA device names for logical partitions\\n\\nEach physical partition can provide multiple services each with UUID.\\nEach such service can be presented as logical partition with a unique\\ncombination of VM ID and UUID. The number of distinct UUID in a system\\nwill be less than or equal to the number of logical partitions.\\n\\nHowever, currently it fails to register more than one logical partition\\nor service within a physical partition as the device name contains only\\nVM ID while both VM ID and UUID are maintained in the partition information.\\nThe kernel complains with the below message:\\n\\n  | sysfs: cannot create duplicate filename \u0027/devices/arm-ffa-8001\u0027\\n  | CPU: 1 PID: 1 Comm: swapper/0 Not tainted 6.3.0-rc7 #8\\n  | Hardware name: FVP Base RevC (DT)\\n  | Call trace:\\n  |  dump_backtrace+0xf8/0x118\\n  |  show_stack+0x18/0x24\\n  |  dump_stack_lvl+0x50/0x68\\n  |  dump_stack+0x18/0x24\\n  |  sysfs_create_dir_ns+0xe0/0x13c\\n  |  kobject_add_internal+0x220/0x3d4\\n  |  kobject_add+0x94/0x100\\n  |  device_add+0x144/0x5d8\\n  |  device_register+0x20/0x30\\n  |  ffa_device_register+0x88/0xd8\\n  |  ffa_setup_partitions+0x108/0x1b8\\n  |  ffa_init+0x2ec/0x3a4\\n  |  do_one_initcall+0xcc/0x240\\n  |  do_initcall_level+0x8c/0xac\\n  |  do_initcalls+0x54/0x94\\n  |  do_basic_setup+0x1c/0x28\\n  |  kernel_init_freeable+0x100/0x16c\\n  |  kernel_init+0x20/0x1a0\\n  |  ret_from_fork+0x10/0x20\\n  | kobject_add_internal failed for arm-ffa-8001 with -EEXIST, don\u0027t try to\\n  | register things with the same name in the same directory.\\n  | arm_ffa arm-ffa: unable to register device arm-ffa-8001 err=-17\\n  | ARM FF-A: ffa_setup_partitions: failed to register partition ID 0x8001\\n\\nBy virtue of being random enough to avoid collisions when generated in a\\ndistributed system, there is no way to compress UUID keys to the number\\nof bits required to identify each. We can eliminate \u0027-\u0027 in the name but\\nit is not worth eliminating 4 bytes and add unnecessary logic for doing\\nthat. Also v1.0 doesn\u0027t provide the UUID of the partitions which makes\\nit hard to use the same for the device name.\\n\\nSo to keep it simple, let us alloc an ID using ida_alloc() and append the\\nsame to \\\"arm-ffa\\\" to make up a unique device name. Also stash the id value\\nin ffa_dev to help freeing the ID later when the device is destroyed.\"}],\"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:H/I:N/A:N\",\"baseScore\":5.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"NONE\"},\"exploitabilityScore\":1.8,\"impactScore\":3.6}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"NVD-CWE-noinfo\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.14\",\"versionEndExcluding\":\"5.15.114\",\"matchCriteriaId\":\"CC2CCAFD-62D9-4FDF-BB59-89082CB74C64\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.16\",\"versionEndExcluding\":\"6.1.31\",\"matchCriteriaId\":\"79A1436B-7738-4A85-8FE6-B844059F22D0\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.2\",\"versionEndExcluding\":\"6.3.5\",\"matchCriteriaId\":\"34DD94CA-4DA1-41C3-9A9B-92ACD7F4E240\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.4:rc1:*:*:*:*:*:*\",\"matchCriteriaId\":\"38BC6744-7D25-4C02-9966-B224CD071D30\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.4:rc2:*:*:*:*:*:*\",\"matchCriteriaId\":\"76061B41-CAE9-4467-BEDE-0FFC7956F2A1\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.4:rc3:*:*:*:*:*:*\",\"matchCriteriaId\":\"A717BA5B-D535-46A0-A329-A25FE5CEC588\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/19b8766459c41c6f318f8a548cc1c66dffd18363\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/93d0cbe88118fcef234d3ebcbdadcb9ebe9d34f1\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/c2f65991097a62efbdb2bed3c06fc86b08c9593b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/dfc5aaa57f52a5800c339369d235fa30fb734feb\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]}]}}"
  }
}


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 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…