CVE-2024-49933 (GCVE-0-2024-49933)
Vulnerability from cvelistv5
Published
2024-10-21 18:01
Modified
2025-11-03 22:23
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: blk_iocost: fix more out of bound shifts Recently running UBSAN caught few out of bound shifts in the ioc_forgive_debts() function: UBSAN: shift-out-of-bounds in block/blk-iocost.c:2142:38 shift exponent 80 is too large for 64-bit type 'u64' (aka 'unsigned long long') ... UBSAN: shift-out-of-bounds in block/blk-iocost.c:2144:30 shift exponent 80 is too large for 64-bit type 'u64' (aka 'unsigned long long') ... Call Trace: <IRQ> dump_stack_lvl+0xca/0x130 __ubsan_handle_shift_out_of_bounds+0x22c/0x280 ? __lock_acquire+0x6441/0x7c10 ioc_timer_fn+0x6cec/0x7750 ? blk_iocost_init+0x720/0x720 ? call_timer_fn+0x5d/0x470 call_timer_fn+0xfa/0x470 ? blk_iocost_init+0x720/0x720 __run_timer_base+0x519/0x700 ... Actual impact of this issue was not identified but I propose to fix the undefined behaviour. The proposed fix to prevent those out of bound shifts consist of precalculating exponent before using it the shift operations by taking min value from the actual exponent and maximum possible number of bits.
Impacted products
Vendor Product Version
Linux Linux Version: bec02dbbafad534674309f8b948094900f456797
Version: bec02dbbafad534674309f8b948094900f456797
Version: bec02dbbafad534674309f8b948094900f456797
Version: bec02dbbafad534674309f8b948094900f456797
Version: bec02dbbafad534674309f8b948094900f456797
Version: bec02dbbafad534674309f8b948094900f456797
Version: bec02dbbafad534674309f8b948094900f456797
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2024-49933",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-10-22T13:38:48.082140Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-10-22T13:48:42.880Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      },
      {
        "providerMetadata": {
          "dateUpdated": "2025-11-03T22:23:17.709Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "url": "https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html"
          },
          {
            "url": "https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "block/blk-iocost.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "1f61d509257d6a05763d05bf37943b35306522b1",
              "status": "affected",
              "version": "bec02dbbafad534674309f8b948094900f456797",
              "versionType": "git"
            },
            {
              "lessThan": "f4ef9bef023d5c543cb0f3194ecacfd47ef590ec",
              "status": "affected",
              "version": "bec02dbbafad534674309f8b948094900f456797",
              "versionType": "git"
            },
            {
              "lessThan": "59121bb38fdc01434ea3fe361ee02b59f036227f",
              "status": "affected",
              "version": "bec02dbbafad534674309f8b948094900f456797",
              "versionType": "git"
            },
            {
              "lessThan": "1ab2cfe19700fb3dde4c7dfec392acff34db3120",
              "status": "affected",
              "version": "bec02dbbafad534674309f8b948094900f456797",
              "versionType": "git"
            },
            {
              "lessThan": "1b120f151871eb47ce9f283c007af3f8ae1d990e",
              "status": "affected",
              "version": "bec02dbbafad534674309f8b948094900f456797",
              "versionType": "git"
            },
            {
              "lessThan": "364022095bdd4108efdaaa68576afa4712a5d085",
              "status": "affected",
              "version": "bec02dbbafad534674309f8b948094900f456797",
              "versionType": "git"
            },
            {
              "lessThan": "9bce8005ec0dcb23a58300e8522fe4a31da606fa",
              "status": "affected",
              "version": "bec02dbbafad534674309f8b948094900f456797",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "block/blk-iocost.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.10"
            },
            {
              "lessThan": "5.10",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.227",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.168",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.113",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.55",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.10.*",
              "status": "unaffected",
              "version": "6.10.14",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.11.*",
              "status": "unaffected",
              "version": "6.11.3",
              "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": "5.10.227",
                  "versionStartIncluding": "5.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.168",
                  "versionStartIncluding": "5.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.113",
                  "versionStartIncluding": "5.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.55",
                  "versionStartIncluding": "5.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.10.14",
                  "versionStartIncluding": "5.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.11.3",
                  "versionStartIncluding": "5.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12",
                  "versionStartIncluding": "5.10",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nblk_iocost: fix more out of bound shifts\n\nRecently running UBSAN caught few out of bound shifts in the\nioc_forgive_debts() function:\n\nUBSAN: shift-out-of-bounds in block/blk-iocost.c:2142:38\nshift exponent 80 is too large for 64-bit type \u0027u64\u0027 (aka \u0027unsigned long\nlong\u0027)\n...\nUBSAN: shift-out-of-bounds in block/blk-iocost.c:2144:30\nshift exponent 80 is too large for 64-bit type \u0027u64\u0027 (aka \u0027unsigned long\nlong\u0027)\n...\nCall Trace:\n\u003cIRQ\u003e\ndump_stack_lvl+0xca/0x130\n__ubsan_handle_shift_out_of_bounds+0x22c/0x280\n? __lock_acquire+0x6441/0x7c10\nioc_timer_fn+0x6cec/0x7750\n? blk_iocost_init+0x720/0x720\n? call_timer_fn+0x5d/0x470\ncall_timer_fn+0xfa/0x470\n? blk_iocost_init+0x720/0x720\n__run_timer_base+0x519/0x700\n...\n\nActual impact of this issue was not identified but I propose to fix the\nundefined behaviour.\nThe proposed fix to prevent those out of bound shifts consist of\nprecalculating exponent before using it the shift operations by taking\nmin value from the actual exponent and maximum possible number of bits."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-05-20T14:27:47.460Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/1f61d509257d6a05763d05bf37943b35306522b1"
        },
        {
          "url": "https://git.kernel.org/stable/c/f4ef9bef023d5c543cb0f3194ecacfd47ef590ec"
        },
        {
          "url": "https://git.kernel.org/stable/c/59121bb38fdc01434ea3fe361ee02b59f036227f"
        },
        {
          "url": "https://git.kernel.org/stable/c/1ab2cfe19700fb3dde4c7dfec392acff34db3120"
        },
        {
          "url": "https://git.kernel.org/stable/c/1b120f151871eb47ce9f283c007af3f8ae1d990e"
        },
        {
          "url": "https://git.kernel.org/stable/c/364022095bdd4108efdaaa68576afa4712a5d085"
        },
        {
          "url": "https://git.kernel.org/stable/c/9bce8005ec0dcb23a58300e8522fe4a31da606fa"
        }
      ],
      "title": "blk_iocost: fix more out of bound shifts",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-49933",
    "datePublished": "2024-10-21T18:01:55.087Z",
    "dateReserved": "2024-10-21T12:17:06.040Z",
    "dateUpdated": "2025-11-03T22:23:17.709Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html\"}, {\"url\": \"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html\"}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2025-11-03T22:23:17.709Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-49933\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-10-22T13:38:48.082140Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-10-22T13:38:51.497Z\"}}], \"cna\": {\"title\": \"blk_iocost: fix more out of bound shifts\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"bec02dbbafad534674309f8b948094900f456797\", \"lessThan\": \"1f61d509257d6a05763d05bf37943b35306522b1\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"bec02dbbafad534674309f8b948094900f456797\", \"lessThan\": \"f4ef9bef023d5c543cb0f3194ecacfd47ef590ec\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"bec02dbbafad534674309f8b948094900f456797\", \"lessThan\": \"59121bb38fdc01434ea3fe361ee02b59f036227f\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"bec02dbbafad534674309f8b948094900f456797\", \"lessThan\": \"1ab2cfe19700fb3dde4c7dfec392acff34db3120\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"bec02dbbafad534674309f8b948094900f456797\", \"lessThan\": \"1b120f151871eb47ce9f283c007af3f8ae1d990e\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"bec02dbbafad534674309f8b948094900f456797\", \"lessThan\": \"364022095bdd4108efdaaa68576afa4712a5d085\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"bec02dbbafad534674309f8b948094900f456797\", \"lessThan\": \"9bce8005ec0dcb23a58300e8522fe4a31da606fa\", \"versionType\": \"git\"}], \"programFiles\": [\"block/blk-iocost.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"5.10\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"5.10\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"5.10.227\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.10.*\"}, {\"status\": \"unaffected\", \"version\": \"5.15.168\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.15.*\"}, {\"status\": \"unaffected\", \"version\": \"6.1.113\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.1.*\"}, {\"status\": \"unaffected\", \"version\": \"6.6.55\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.6.*\"}, {\"status\": \"unaffected\", \"version\": \"6.10.14\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.10.*\"}, {\"status\": \"unaffected\", \"version\": \"6.11.3\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.11.*\"}, {\"status\": \"unaffected\", \"version\": \"6.12\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"block/blk-iocost.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/1f61d509257d6a05763d05bf37943b35306522b1\"}, {\"url\": \"https://git.kernel.org/stable/c/f4ef9bef023d5c543cb0f3194ecacfd47ef590ec\"}, {\"url\": \"https://git.kernel.org/stable/c/59121bb38fdc01434ea3fe361ee02b59f036227f\"}, {\"url\": \"https://git.kernel.org/stable/c/1ab2cfe19700fb3dde4c7dfec392acff34db3120\"}, {\"url\": \"https://git.kernel.org/stable/c/1b120f151871eb47ce9f283c007af3f8ae1d990e\"}, {\"url\": \"https://git.kernel.org/stable/c/364022095bdd4108efdaaa68576afa4712a5d085\"}, {\"url\": \"https://git.kernel.org/stable/c/9bce8005ec0dcb23a58300e8522fe4a31da606fa\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nblk_iocost: fix more out of bound shifts\\n\\nRecently running UBSAN caught few out of bound shifts in the\\nioc_forgive_debts() function:\\n\\nUBSAN: shift-out-of-bounds in block/blk-iocost.c:2142:38\\nshift exponent 80 is too large for 64-bit type \u0027u64\u0027 (aka \u0027unsigned long\\nlong\u0027)\\n...\\nUBSAN: shift-out-of-bounds in block/blk-iocost.c:2144:30\\nshift exponent 80 is too large for 64-bit type \u0027u64\u0027 (aka \u0027unsigned long\\nlong\u0027)\\n...\\nCall Trace:\\n\u003cIRQ\u003e\\ndump_stack_lvl+0xca/0x130\\n__ubsan_handle_shift_out_of_bounds+0x22c/0x280\\n? __lock_acquire+0x6441/0x7c10\\nioc_timer_fn+0x6cec/0x7750\\n? blk_iocost_init+0x720/0x720\\n? call_timer_fn+0x5d/0x470\\ncall_timer_fn+0xfa/0x470\\n? blk_iocost_init+0x720/0x720\\n__run_timer_base+0x519/0x700\\n...\\n\\nActual impact of this issue was not identified but I propose to fix the\\nundefined behaviour.\\nThe proposed fix to prevent those out of bound shifts consist of\\nprecalculating exponent before using it the shift operations by taking\\nmin value from the actual exponent and maximum possible number of bits.\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.10.227\", \"versionStartIncluding\": \"5.10\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.15.168\", \"versionStartIncluding\": \"5.10\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.1.113\", \"versionStartIncluding\": \"5.10\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.6.55\", \"versionStartIncluding\": \"5.10\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.10.14\", \"versionStartIncluding\": \"5.10\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.11.3\", \"versionStartIncluding\": \"5.10\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.12\", \"versionStartIncluding\": \"5.10\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2025-05-20T14:27:47.460Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2024-49933\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2025-11-03T22:23:17.709Z\", \"dateReserved\": \"2024-10-21T12:17:06.040Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-10-21T18:01:55.087Z\", \"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…

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.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • 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…

Loading…