Skip to content
Heist/ feed
Unrated

block: add check that partition length needs to be aligned with block size

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: block: add check that partition length needs to be aligned with block size Before calling add partition or resize partition, there is no check on whether the length is aligned with the logical block size. If the logical block size of the disk is larger than 512 bytes, then the partition size maybe not the multiple of the logical block size, and when the last sector is read, bio_truncate() will adjust the bio size, resulting in an IO error if the size of the read command is smaller than the logical block size.If integrity data is supported, this will also result in a null pointer dereference when calling bio_integrity_free.

Announced Group revision 1
Original source ↗

CVE-2023-52458

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2023-52458

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "633395b67bb222f85bb8f825c7751a54b9ec84ee",
        "lessThan": "8f6dfa1f1efe6dcca2d43e575491d8fcbe922f62",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "633395b67bb222f85bb8f825c7751a54b9ec84ee",
        "lessThan": "5010c27120962c85d2f421d2cf211791c9603503",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "633395b67bb222f85bb8f825c7751a54b9ec84ee",
        "lessThan": "ef31cc87794731ffcb578a195a2c47d744e25fb8",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "633395b67bb222f85bb8f825c7751a54b9ec84ee",
        "lessThan": "cb16cc1abda18a9514106d2ac8c8d7abc0be5ed8",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "633395b67bb222f85bb8f825c7751a54b9ec84ee",
        "lessThan": "bcdc288e7bc008daf38ef0401b53e4a8bb61bbe5",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "633395b67bb222f85bb8f825c7751a54b9ec84ee",
        "lessThan": "6f64f866aa1ae6975c95d805ed51d7e9433a0016",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "block/ioctl.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "4.10"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "4.10",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "5.10.215",
        "versionType": "semver",
        "lessThanOrEqual": "5.10.*"
      },
      {
        "status": "unaffected",
        "version": "5.15.148",
        "versionType": "semver",
        "lessThanOrEqual": "5.15.*"
      },
      {
        "status": "unaffected",
        "version": "6.1.75",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.14",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.7.2",
        "versionType": "semver",
        "lessThanOrEqual": "6.7.*"
      },
      {
        "status": "unaffected",
        "version": "6.8",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "block/ioctl.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2023-52458

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#26377 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement