rsyslog imklog lets local users forge kernel log lines
A Linux logging program can be tricked into forging kernel messages on screen.
Mitigation
Update rsyslog to the 2026-12-01 daily stable build or later. Until then, change %msg% to %msg:::escape-cc% in message templates. No source names a fixed version number. For vj8g, use keepkerneltimestamp=on and keep permitnonkernelfacility=off. Keep maxMessageSize at 8 KiB or above.
Can't update yet?
Add this line to the config file:
%msg:::escape-cc%
A wrong setting can stop the service or lock you out. Check the source links below first.
Summary
The imklog module in rsyslog lets a local user inject control characters or forge message priority when handling kernel logs. Versions 3.17.1 to 8.2610.0 are affected for pw82, and 5.9.0 to 8.2610.0 for vj8g.
Affected when
- GHSA-pw82-9r22-hjqg: imklog module at default settings reading /proc/kmsg
- GHSA-vj8g-x55g-mp3x: permitnonkernelfacility set to on
- The kernel prints the attacker's string in a log line (segfault report, kernel rate limit applies)
15 other Incidents of this product in the last 30 days
Incidents by product: rsyslog
Other recent Incidents of rsyslog