{"schema":"threatline.record/2","record":{"id":"CVE-2026-98324","aliases":[],"summary":"dmaengine: pxa: fix double counting of the hw descriptors","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndmaengine: pxa: fix double counting of the hw descriptors\n\npxad_alloc_desc() was converted from\n\n        kzalloc(struct_size(sw_desc, hw_desc, nb_hw_desc), GFP_NOWAIT)\n\nto kzalloc_flex(), which sets the __counted_by() counter sw_desc->nb_desc\nitself - but only where the compiler has __builtin_counted_by_ref(), so\nfrom gcc 15.1 or clang 22.1 on. The loop below it still increments\nnb_desc, which makes it come out doubled there and correct elsewhere.\n\nnb_desc is what pxad_free_desc() iterates over and what\nset_updater_desc() indexes from, so set it explicitly and drop the\nincrement. The error path has to lower it to the number of descriptors\nallocated so far, otherwise pxad_free_desc() would free entries that were\nnever allocated.","categories":["Operating systems"],"product":"Linux","vendor":"Linux","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98324","source_modified_at":"2026-10-19T09:17:34.749Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"Linux","vendor":"Linux","versions":[{"version":"69050f8d6d075dc01af7a5f2f550a8067510366f","lessThan":"1de93785f32b450e9eae1e4fcfb7d03eb49eb27e","status":"affected","versionType":"git"},{"version":"69050f8d6d075dc01af7a5f2f550a8067510366f","lessThan":"f6504be006aa4bb4bd26285f410a885c17920d65","status":"affected","versionType":"git"}],"defaultStatus":"unaffected"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98324","source_modified_at":"2026-10-19T09:17:34.749Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"Linux","vendor":"Linux","versions":[{"version":"7.0","status":"affected"},{"version":"0","lessThan":"7.0","status":"unaffected","versionType":"semver"},{"version":"7.2.8","lessThanOrEqual":"7.2.*","status":"unaffected","versionType":"semver"},{"version":"7.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"defaultStatus":"affected"}],"fixed_versions":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98324","source_modified_at":"2026-10-19T09:17:34.749Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"1de93785f32b450e9eae1e4fcfb7d03eb49eb27e","basis":"first unaffected version stated in the CVE record"}],"cvss":7.8,"severity":"High","kev":{"listed":false},"epss":{"probability":0.00129,"percentile":0.02306,"score_date":"2026-10-23"},"published_at":"2026-10-06T08:46:17.919Z","modified_at":"2026-10-19T09:17:34.749Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-98324","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-10-19T09:17:34.749Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-98324","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","EPSS"],"references":[{"source":"CVE List","url":"https://git.kernel.org/stable/c/1de93785f32b450e9eae1e4fcfb7d03eb49eb27e"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/f6504be006aa4bb4bd26285f410a885c17920d65"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"product","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-19T09:17:34.749Z","content_hash":"4b359d161685d8a138e26524084663a3bcd168095680abf3cb703f3c86f123e3"}}
