Bug 9709 - kernel tries to exec zero-length file
kernel tries to exec zero-length file
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: modutils (Show other bugs)
6.1
All Linux
medium Severity medium
: ---
: ---
Assigned To: Michael K. Johnson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-02-23 07:38 EST by Jonathan Kamens
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-09-14 19:57:04 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jonathan Kamens 2000-02-23 07:38:51 EST
Create a zero-length file.  Make it executable.

Modify /etc/syslog.conf to log *.debug into a file.  Create the empty log
file and send a HUP to syslogd.

Try to execute the zero-length file.  In your debug syslog log file, you'll
see, "modprobe: modprobe: Can't locate module binfmt-0000".

The kernel should not be trying to load a module to execute an empty file.
Comment 1 Alan Cox 2000-09-14 19:57:01 EDT
Its an interesting question since there is no kernel problem with leavign this
allowed. I suspect someone should by default 'alias binfmt-0000 off'
Comment 2 Bill Nottingham 2001-07-06 18:33:54 EDT
will be done in 2.4.6-1.

Note You need to log in before you can comment on or make changes to this bug.