Skip to content

Push 2026 01 23#1000

Merged
rdementi merged 21 commits intomasterfrom
push-2026-01-23
Jan 26, 2026
Merged

Push 2026 01 23#1000
rdementi merged 21 commits intomasterfrom
push-2026-01-23

Conversation

@rdementi
Copy link
Copy Markdown
Contributor

No description provided.

rdementi and others added 21 commits December 11, 2025 14:13
Change-Id: Id95df391f74b819b8ae379211b543cc1ab024b01
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Change-Id: Id6c3901fa6488247cecad955ac83ec70ccfe7a6b
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Change-Id: I2b2b8a80fc28aa4386b0ae892de8942fc8a9de16
Change-Id: I06ce53b789c378b52520f777dad1e4e5ad251b20
Linux: -fstack-protector-strong, -z,relro, -z,now, -z,noexecstack
Windows: /GS, /Gy, /DYNAMICBASE, /NXCOMPAT, /Qspectre, /W4
Fix 4 HIGH severity command injection vulnerabilities (B602/CWE-78) in pmu-query.py
Usage of LoadLibraryEx function with LOAD_LIBRARY_SEARCH_SYSTEM32 is added
Change-Id: Ib7b72f15a9da50ecda149ed7611e6c076969c369
Add O_NOFOLLOW flags and symlink validation to MSR, PCI, SysFS, and daemon
file operations to prevent privilege escalation via symlink redirects.
- daemon.cpp: Use unlink()+open(O_EXCL|O_NOFOLLOW) in setupSharedMemory (CID 8073804)
- utils.cpp: Use open(O_NOFOLLOW)+fdopen() in tryOpen (CID 8073803)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Replace upfront unlink() with atomic O_EXCL attempt first, retry on
EEXIST with max 3 attempts to prevent both race conditions and DoS.
- Run Bandit only when Python files or config changes
- Exclude submodules from scan
- Fail CI on any security issues detected
Change-Id: I9aa1c7c47d5755255026579e88182030f0798523
Change-Id: I883bf8ae288e2d1fda359eff0f4ce4f39901dba5
@rdementi rdementi merged commit 448e026 into master Jan 26, 2026
47 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants