Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-48845

published

MIPS: smp: fill in sibling and core maps earlier

Published
16 Jul 2024, 12:25:14 UTC
Updated
11 May 2026, 18:48:15 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxe545a6140b698b2494daf0b32107bdcc5e901390 to < 7315f8538db009605ffba00370678142ef00ac98 · e545a6140b698b2494daf0b32107bdcc5e901390 to < 32813321f18d5432cec1b1a6ecc964f9ea26d565 · e545a6140b698b2494daf0b32107bdcc5e901390 to < 56eaacb8137ba2071ce48d4e3d91979270e139a7 · e545a6140b698b2494daf0b32107bdcc5e901390 to < c2420bc3333111184cdcb112282d13afe1338dd7 · e545a6140b698b2494daf0b32107bdcc5e901390 to < e8ad9ecc406974deb5e7c070f51cc1d09d21dc4b · e545a6140b698b2494daf0b32107bdcc5e901390 to < be538b764a46be1d0700fd3b6e82fb76bd17f13a · e545a6140b698b2494daf0b32107bdcc5e901390 to < 94647aec80d03d6914aa664b7b8e103cd9d63239 · e545a6140b698b2494daf0b32107bdcc5e901390 to < f2703def339c793674010cc9f01bfe4980231808 · Other versions: unaffected Affected Not stated Linux
Linux — Linux2.6.28 (affected) · 0 to < 2.6.28 (unaffected · semver) · 4.9.308 through 4.9.* (unaffected · semver) · 4.14.273 through 4.14.* (unaffected · semver) · 4.19.236 through 4.19.* (unaffected · semver) · 5.4.186 through 5.4.* (unaffected · semver) · 5.10.107 through 5.10.* (unaffected · semver) · 5.15.30 through 5.15.* (unaffected · semver) · 5.16.16 through 5.16.* (unaffected · semver) · 5.17 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

Description

In the Linux kernel, the following vulnerability has been resolved: MIPS: smp: fill in sibling and core maps earlier After enabling CONFIG_SCHED_CORE (landed during 5.14 cycle), 2-core 2-thread-per-core interAptiv (CPS-driven) started emitting the following: [ 0.025698] CPU1 revision is: 0001a120 (MIPS interAptiv (multi)) [ 0.048183] ------------[ cut here ]------------ [ 0.048187] WARNING: CPU: 1 PID: 0 at kernel/sched/core.c:6025 sched_core_cpu_starting+0x198/0x240 [ 0.048220] Modules linked in: [ 0.048233] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.17.0-rc3+ #35 b7b319f24073fd9a3c2aa7ad15fb7993eec0b26f [ 0.048247] Stack : 817f0000 00000004 327804c8 810eb050 00000000 00000004 00000000 c314fdd1 [ 0.048278] 830cbd64 819c0000 81800000 817f0000 83070bf4 00000001 830cbd08 00000000 [ 0.048307] 00000000 00000000 815fcbc4 00000000 00000000 00000000 00000000 00000000 [ 0.048334] 00000000 00000000 00000000 00000000 817f0000 00000000 00000000 817f6f34 [ 0.048361] 817f0000 818a3c00 817f0000 00000004 00000000 00000000 4dc33260 0018c933 [ 0.048389] ... [ 0.048396] Call Trace: [ 0.048399] [<8105a7bc>] show_stack+0x3c/0x140 [ 0.048424] [<8131c2a0>] dump_stack_lvl+0x60/0x80 [ 0.048440] [<8108b5c0>] __warn+0xc0/0xf4 [ 0.048454] [<8108b658>] warn_slowpath_fmt+0x64/0x10c [ 0.048467] [<810bd418>] sched_core_cpu_starting+0x198/0x240 [ 0.048483] [<810c6514>] sched_cpu_starting+0x14/0x80 [ 0.048497] [<8108c0f8>] cpuhp_invoke_callback_range+0x78/0x140 [ 0.048510] [<8108d914>] notify_cpu_starting+0x94/0x140 [ 0.048523] [<8106593c>] start_secondary+0xbc/0x280 [ 0.048539] [ 0.048543] ---[ end trace 0000000000000000 ]--- [ 0.048636] Synchronize counters for CPU 1: done. ...for each but CPU 0/boot. Basic debug printks right before the mentioned line say: [ 0.048170] CPU: 1, smt_mask: So smt_mask, which is sibling mask obviously, is empty when entering the function. This is critical, as sched_core_cpu_starting() calculates core-scheduling parameters only once per CPU start, and it's crucial to have all the parameters filled in at that moment (at least it uses cpu_smt_mask() which in fact is `&cpu_sibling_map[cpu]` on MIPS). A bit of debugging led me to that set_cpu_sibling_map() performing the actual map calculation, was being invocated after notify_cpu_start(), and exactly the latter function starts CPU HP callback round (sched_core_cpu_starting() is basically a CPU HP callback). While the flow is same on ARM64 (maps after the notifier, although before calling set_cpu_online()), x86 started calculating sibling maps earlier than starting the CPU HP callbacks in Linux 4.14 (see [0] for the reference). Neither me nor my brief tests couldn't find any potential caveats in calculating the maps right after performing delay calibration, but the WARN splat is now gone. The very same debug prints now yield exactly what I expected from them: [ 0.048433] CPU: 1, smt_mask: 0-1 [0] https://git.kernel.org/pub/scm/linux/kernel/git/mips/linux.git/commit/?id=76ce7cfe35ef

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux e545a6140b698b2494daf0b32107bdcc5e901390 to < 7315f8538db009605ffba00370678142ef00ac98 (affected · git)e545a6140b698b2494daf0b32107bdcc5e901390 to < 32813321f18d5432cec1b1a6ecc964f9ea26d565 (affected · git)e545a6140b698b2494daf0b32107bdcc5e901390 to < 56eaacb8137ba2071ce48d4e3d91979270e139a7 (affected · git)e545a6140b698b2494daf0b32107bdcc5e901390 to < c2420bc3333111184cdcb112282d13afe1338dd7 (affected · git)e545a6140b698b2494daf0b32107bdcc5e901390 to < e8ad9ecc406974deb5e7c070f51cc1d09d21dc4b (affected · git)e545a6140b698b2494daf0b32107bdcc5e901390 to < be538b764a46be1d0700fd3b6e82fb76bd17f13a (affected · git)e545a6140b698b2494daf0b32107bdcc5e901390 to < 94647aec80d03d6914aa664b7b8e103cd9d63239 (affected · git)e545a6140b698b2494daf0b32107bdcc5e901390 to < f2703def339c793674010cc9f01bfe4980231808 (affected · git)Default: unaffected Linux · cna
Linux Linux 2.6.28 (affected)0 to < 2.6.28 (unaffected · semver)4.9.308 through 4.9.* (unaffected · semver)4.14.273 through 4.14.* (unaffected · semver)4.19.236 through 4.19.* (unaffected · semver)5.4.186 through 5.4.* (unaffected · semver)5.10.107 through 5.10.* (unaffected · semver)5.15.30 through 5.15.* (unaffected · semver)5.16.16 through 5.16.* (unaffected · semver)5.17 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

3

Linux · cna

MIPS: smp: fill in sibling and core maps earlier

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
3d99341a355e3131647d30b39ca8de1903b105aabee1dea722c89441cbcdd971
Ingested
23 Sep 2026, 08:04:03 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected