Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Post History

77%
+5 −0
Q&A What are the concrete security risks of forcibly terminating a process?

I'm using the Gnome System Monitor in Linux Mint. Whenever I attempt to "End" or "Kill" a process, I am given this warning via a modal dialog (emphasis mine): Killing a process may destroy data,...

2 answers  ·  posted 8mo ago by Karl Knechtel‭  ·  last activity 1mo ago by Kamil Maciorowski‭

Question security kill
#1: Initial revision by user avatar Karl Knechtel‭ · 2023-09-13T04:18:39Z (8 months ago)
What are the concrete security risks of forcibly terminating a process?
I'm using the Gnome System Monitor in Linux Mint. Whenever I attempt to "End" or "Kill" a process, I am given this warning via a modal dialog (emphasis mine):

> Killing a process may destroy data, break the session *or introduce a security risk*. Only unresponsive processes should be killed.

(Similarly with "end" instead of "kill" as appropriate.)

It makes sense that in-memory data could be corrupted (or not written to disk when it ought to be) when a process ends abnormally (not under its own control), and that certain processes might be necessary for the login session to work properly. But what security risks can be introduced this way, and how? (And if a process is indeed unresponsive, do I have options other than killing it or waiting?)