Public bug reported:

When kio Version: 5.113.0-0ubuntu1 is installed, `dolphin` crashes:

```
dolphin --version   
dolphin 23.08.4
```

```
Package: dolphin
Architecture: amd64
Version: 4:23.08.4-0ubuntu1
```

```
Package: kio
Architecture: amd64
Version: 5.113.0-0ubuntu1
```

```
System:
  Host: lxe-ubuntu Kernel: 6.5.0-9-generic arch: x86_64 bits: 64
    Desktop: GNOME v: 45.2 Distro: Ubuntu 24.04 (Noble Numbat)
```

Reproduce:

```
$ dolphin ~
*** buffer overflow detected ***: terminated
[1]    3593 IOT instruction (core dumped)  dolphin ~
```

strace:

```
...
ppoll([{fd=36, events=POLLIN|POLLOUT}], 1, NULL, NULL, 8) = 1 ([{fd=36, 
revents=POLLOUT}])
write(36, "    14_47_\0\0\0\20file:///home/lxe", 30) = 30
write(5, "\1\0\0\0\0\0\0\0", 8)         = 8
write(5, "\1\0\0\0\0\0\0\0", 8)         = 8
statx(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/kio_file.so", 
AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_ALL, 
{stx_mask=STATX_ALL|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0644, 
stx_size=125368, ...}) = 0
readlink("/usr", 0x7fff692af480, 1023)  = -1 EINVAL (Invalid argument)
readlink("/usr/lib", 0x7fff692af480, 1023) = -1 EINVAL (Invalid argument)
readlink("/usr/lib/x86_64-linux-gnu", 0x7fff692af480, 1023) = -1 EINVAL 
(Invalid argument)
readlink("/usr/lib/x86_64-linux-gnu/qt5", 0x7fff692af480, 1023) = -1 EINVAL 
(Invalid argument)
readlink("/usr/lib/x86_64-linux-gnu/qt5/plugins", 0x7fff692af480, 1023) = -1 
EINVAL (Invalid argument)
readlink("/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5", 0x7fff692af480, 1023) = 
-1 EINVAL (Invalid argument)
readlink("/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio", 0x7fff692af480, 1023) 
= -1 EINVAL (Invalid argument)
readlink("/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/kio_file.so", 
0x7fff692af480, 1023) = -1 EINVAL (Invalid argument)
*** buffer overflow detected ***: terminated
geteuid()                               = 1000
+++ killed by SIGABRT (core dumped) +++
[1]    8458 IOT instruction (core dumped)  strace dolphin ~

```

Downgrading `kio` to kio=5.104.0-0ubuntu1 fixes this issue

** Affects: dolphin (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: kio (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: dolphin (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kio in Ubuntu.
https://bugs.launchpad.net/bugs/2046634

Title:
  dolphin crashes on start with buffer overflow when using kio
  5.113.0-0ubuntu1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dolphin/+bug/2046634/+subscriptions


-- 
kubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs

Reply via email to