kioslave5 assert failure: *** buffer overflow detected ***: terminated

Bug #2046653 reported by Muhammad Ali Husain
260
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kio (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Kioslave5 closed unexpectedly.

Ubuntu Studio 24.04
KDE Plasma Version: 5.27.10
KDE Framework Version: 5.113.0
Qt Version: 5.15.10
Kernel Version: 6.5.0-9-lowlatency (64 bit)
Graphics Platform: Wayland

ProblemType: Crash
DistroRelease: Ubuntu 24.04
Package: kio 5.113.0-0ubuntu1
ProcVersionSignature: Ubuntu 6.5.0-9.9.1-lowlatency 6.5.3
Uname: Linux 6.5.0-9-lowlatency x86_64
ApportVersion: 2.27.0-0ubuntu6
Architecture: amd64
AssertionMessage: *** buffer overflow detected ***: terminated
CasperMD5CheckResult: unknown
CrashCounter: 1
CurrentDesktop: KDE
Date: Sun Dec 17 06:01:15 2023
ExecutablePath: /usr/lib/x86_64-linux-gnu/libexec/kf5/kioslave5
InstallationDate: Installed on 2023-12-15 (2 days ago)
InstallationMedia: Ubuntu-Studio 22.04.3 LTS "Jammy Jellyfish" - Release amd64 (20230807)
JournalErrors: -- No entries --
ProcCmdline: /lib/x86_64-linux-gnu/libexec/kf5/kioslave5 /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/desktop.so desktop local:/run/user/1000/plasmashelldQPsVF.1.kioworker.socket
Signal: 6
SourcePackage: kio
StacktraceTop:
 __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
 __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
 __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
 __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
 __GI_abort () at ./stdlib/abort.c:79
Title: kioslave5 assert failure: *** buffer overflow detected ***: terminated
UpgradeStatus: Upgraded to noble on 2023-12-16 (1 days ago)
UserGroups: adm audio cdrom dip lpadmin plugdev sambashare sudo
separator:

Revision history for this message
Muhammad Ali Husain (mahagusman) wrote :
tags: removed: need-amd64-retrace
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
 __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
 __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
 __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
 __GI_abort () at ./stdlib/abort.c:79

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : StacktraceSource.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in kio (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Seth Arnold (seth-arnold) wrote :

This portion feels most relevant to me:

#16 createUDSEntry (filename=..., path=..., entry=..., details=details@entry=..., fullPath=...) at /usr/src/kio-5.113.0-0ubuntu1/src/ioslaves/file/file_unix.cpp:407
  402: using SizeType = off_t;
  403: #endif
  404: SizeType bufferSize = qBound(lowerBound, size + 1, higherBound);
  405: linkTargetBuffer.resize(bufferSize);
  406: while (true) {
  407: ssize_t n = readlink(path.constData(), linkTargetBuffer.data(), bufferSize);
  408: if (n < 0 && errno != ERANGE) {
  409: qCWarning(KIO_FILE) << "readlink failed!" << path;
  410: return false;
  411: } else if (n > 0 && static_cast<SizeType>(n) != bufferSize) {
  412: // the buffer was not filled in the last iteration

information type: Private Security → Public Security
Changed in kio (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public Security information  
Everyone can see this security related information.

Other bug subscribers

Remote bug watches

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