invoke-rc.d: initscript cpufreqd, action "start" failed : buffer overflow

Bug #1185685 reported by dino99
This bug report is a duplicate of:  Bug #1162160: cpufreqd buffer overflow detected. Edit Remove
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
cpufreqd (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Got that output while i'm upgrading some package with synaptic :

Paramétrage de cpufreqd (2.4.2-2) ...
 * Starting CPU Frequency daemon cpufreqd *** buffer overflow detected ***: /usr/sbin/cpufreqd terminated
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(__fortify_fail+0x63)[0xb765bbc3]
/lib/i386-linux-gnu/libc.so.6(+0x10593a)[0xb765a93a]
/lib/i386-linux-gnu/libc.so.6(+0x1060e7)[0xb765b0e7]
/usr/sbin/cpufreqd(main+0x31d)[0x804a10d]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0xb756e935]
/usr/sbin/cpufreqd[0x804b40d]
======= Memory map: ========
08048000-08052000 r-xp 00000000 08:05 70883 /usr/sbin/cpufreqd
08052000-08053000 r--p 0000a000 08:05 70883 /usr/sbin/cpufreqd
08053000-08054000 rw-p 0000b000 08:05 70883 /usr/sbin/cpufreqd
09dd7000-09df8000 rw-p 00000000 00:00 0 [heap]
b7523000-b753e000 r-xp 00000000 08:05 747873 /lib/i386-linux-gnu/libgcc_s.so.1
b753e000-b753f000 r--p 0001a000 08:05 747873 /lib/i386-linux-gnu/libgcc_s.so.1
b753f000-b7540000 rw-p 0001b000 08:05 747873 /lib/i386-linux-gnu/libgcc_s.so.1
b7554000-b7555000 rw-p 00000000 00:00 0
b7555000-b7702000 r-xp 00000000 08:05 748336 /lib/i386-linux-gnu/libc-2.17.so
b7702000-b7704000 r--p 001ad000 08:05 748336 /lib/i386-linux-gnu/libc-2.17.so
b7704000-b7705000 rw-p 001af000 08:05 748336 /lib/i386-linux-gnu/libc-2.17.so
b7705000-b7709000 rw-p 00000000 00:00 0
b7709000-b770e000 r-xp 00000000 08:05 69792 /usr/lib/libcpufreq.so.0.0.0
b770e000-b770f000 r--p 00004000 08:05 69792 /usr/lib/libcpufreq.so.0.0.0
b770f000-b7710000 rw-p 00005000 08:05 69792 /usr/lib/libcpufreq.so.0.0.0
b7710000-b7713000 r-xp 00000000 08:05 748360 /lib/i386-linux-gnu/libdl-2.17.so
b7713000-b7714000 r--p 00002000 08:05 748360 /lib/i386-linux-gnu/libdl-2.17.so
b7714000-b7715000 rw-p 00003000 08:05 748360 /lib/i386-linux-gnu/libdl-2.17.so
b7728000-b772b000 rw-p 00000000 00:00 0
b772b000-b772c000 r-xp 00000000 00:00 0 [vdso]
b772c000-b774c000 r-xp 00000000 08:05 748368 /lib/i386-linux-gnu/ld-2.17.so
b774c000-b774d000 r--p 0001f000 08:05 748368 /lib/i386-linux-gnu/ld-2.17.so
b774d000-b774e000 rw-p 00020000 08:05 748368 /lib/i386-linux-gnu/ld-2.17.so
bf94e000-bf96f000 rw-p 00000000 00:00 0 [stack]
Aborted (core dumped)
invoke-rc.d: initscript cpufreqd, action "start" failed.
dpkg: erreur de traitement de cpufreqd (--configure) :
 le sous-processus script post-installation installé a retourné une erreur de sortie d'état 134
Des erreurs ont été rencontrées pendant l'exécution :
 cpufreqd

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: cpufreqd 2.4.2-2
ProcVersionSignature: Ubuntu 3.8.0-22.33-generic 3.8.11
Uname: Linux 3.8.0-22-generic i686
ApportVersion: 2.9.2-0ubuntu8
Architecture: i386
Date: Thu May 30 08:31:27 2013
MarkForUpload: True
SourcePackage: cpufreqd
UpgradeStatus: Upgraded to raring on 2011-12-04 (542 days ago)

Revision history for this message
dino99 (9d9) wrote :
summary: - buffer overflow
+ invoke-rc.d: initscript cpufreqd, action "start" failed : buffer
+ overflow
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in cpufreqd (Ubuntu):
status: New → Confirmed
Revision history for this message
Liban Hannan (liban-hannan) wrote :

This can be fixed by removing

-f $CPUFREQD_CONFFILE

from line 84 of /etc/init.d/cpufreqd

The -f switch is what causes the buffer overflow. So if you don't intend to move the configuration file from it's default location, the "-f $CPUFREQD_CONFFILE" is not necessary.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.