many KDE processes have rwx memory mappings
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kded (Debian) |
New
|
Unknown
|
|||
kded (Fedora) |
Confirmed
|
Undecided
|
|||
kded (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
SUMMARY
As a defense against machine code injection against buffer overflow bugs, most Linux distributions have worked over the years to remove as many rwx memory mappings as possible in processes.
I checked this on several of my systems and unfortunately I found that many KDE processes do have rwx memory mappings.
I chose to report this bug against the kded package because it is one of the most fundamental affected KDE process I found. However, the problem seems to be more general in KDE. I apologize in advance for not finding a better software package to report this problem.
STEPS TO REPRODUCE
1. Log in Plasma
2. Run the following command:
$ grep rwx /proc/$(pidof kded5)/maps
OBSERVED RESULT
$ grep rwx /proc/$(pidof kded5)/maps
7f68d7c2a000-
EXPECTED RESULT
No output
ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: kded5 5.56.0-0ubuntu1
Uname: Linux 5.1.1-050101-
ApportVersion: 2.20.10-0ubuntu27
Architecture: amd64
CurrentDesktop: KDE
Date: Tue May 14 08:41:00 2019
SourcePackage: kded
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in kded (Debian): | |
status: | Unknown → New |
Changed in kded (Fedora): | |
importance: | Unknown → Undecided |
status: | Unknown → Confirmed |
tags: | added: eoan focal groovy hirsute |
tags: | added: kubuntu |
tags: |
added: noble removed: lunar |
This problem is also present in KDE Neon:
https:/ /bugs.kde. org/show_ bug.cgi? id=407496
Unfortunately, this distribution is not listed in launchpad.