cups-browsed crashed with SIGSEGV in strlcpy()

Bug #1847488 reported by Mario Limonciello
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cups-filters (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

wasn't printing, but got this error

ProblemType: Crash
DistroRelease: Ubuntu 19.10
Package: cups-browsed 1.25.6-1
ProcVersionSignature: Ubuntu 5.3.0-13.14-generic 5.3.0
Uname: Linux 5.3.0-13-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu7
Architecture: amd64
Date: Wed Oct 9 09:00:46 2019
ExecutablePath: /usr/sbin/cups-browsed
InstallationDate: Installed on 2019-08-13 (56 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Alpha amd64 (20190712)
MachineType: Dell Inc. XPS 13 7390
Papersize: letter
ProcAttrCurrent: /usr/sbin/cups-browsed (enforce)
ProcCmdline: /usr/sbin/cups-browsed
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-13-generic root=UUID=1f5f8d86-98e7-4c93-ab73-891051ab9a59 ro quiet splash vt.handoff=7
SegvAnalysis:
 Segfault happened at: 0x7f09e4691ba5 <__strlen_avx2+21>: vpcmpeqb (%rdi),%ymm0,%ymm1
 PC (0x7f09e4691ba5) ok
 source "(%rdi)" (0x00000000) not located in a known VMA region (needed readable region)!
 destination "%ymm0" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: cups-filters
StacktraceTop:
 __strlen_avx2 () at ../sysdeps/x86_64/multiarch/strlen-avx2.S:65
 strlcpy () at /lib/x86_64-linux-gnu/libcupsfilters.so.1
 generate_sizes () at /lib/x86_64-linux-gnu/libcupsfilters.so.1
 ppdCreateFromIPP2 () at /lib/x86_64-linux-gnu/libcupsfilters.so.1
 ()
Title: cups-browsed crashed with SIGSEGV in __strlen_avx2()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

dmi.bios.date: 08/23/2019
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.1.3
dmi.board.name: 0192QD
dmi.board.vendor: Dell Inc.
dmi.board.version: X03
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr1.1.3:bd08/23/2019:svnDellInc.:pnXPS137390:pvr:rvnDellInc.:rn0192QD:rvrX03:cvnDellInc.:ct10:cvr:
dmi.product.family: XPS
dmi.product.name: XPS 13 7390
dmi.product.sku: 0962
dmi.sys.vendor: Dell Inc.
separator:

Revision history for this message
Mario Limonciello (superm1) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 ?? () from /tmp/apport_sandbox_hhsmos02/lib/x86_64-linux-gnu/libc.so.6
 strlcpy (dst=dst@entry=0x7ffff0186af0 "EnvDL", src=0x0, size=127, size@entry=128) at cupsfilters/ppdgenerator.c:177
 generate_sizes (response=response@entry=0x556f8c7974d0, defattr=defattr@entry=0x7ffff0186cd8, min_length=min_length@entry=0x7ffff0186ccc, min_width=min_width@entry=0x7ffff0186cd0, max_length=max_length@entry=0x7ffff0186cc4, max_width=max_width@entry=0x7ffff0186cc8, bottom=0x7ffff0186cb4, left=0x7ffff0186cb8, right=0x7ffff0186cbc, top=0x7ffff0186cc0, ppdname=0x7ffff0186d00 "Letter") at cupsfilters/ppdgenerator.c:1308
 ppdCreateFromIPP2 (buffer=0x7ffff01897e0 "/tmp/01bd35da81cbd", bufsize=<optimized out>, response=0x556f8c7974d0, make_model=<optimized out>, pdl=<optimized out>, color=1, duplex=1, conflicts=0x0, sizes=0x0, default_pagesize=0x0, default_cluster_color=0x0) at cupsfilters/ppdgenerator.c:2091
 update_cups_queues ()

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 cups-filters (Ubuntu):
importance: Undecided → Medium
summary: - cups-browsed crashed with SIGSEGV in __strlen_avx2()
+ cups-browsed crashed with SIGSEGV in strlcpy()
tags: removed: need-amd64-retrace
information type: Private → Public
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Fixed upstream, 1.25.10 is on its way ...

Changed in cups-filters (Ubuntu):
status: New → In Progress
Changed in cups-filters (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cups-filters - 1.25.11-0ubuntu1

---------------
cups-filters (1.25.11-0ubuntu1) eoan; urgency=medium

  - cups-browsed: Fixed printing on remote printers which only
    support IPP 1.1 (Upstream issue #124, #163).

 -- Till Kamppeter <email address hidden> Thu, 10 Oct 2019 12:48:32 +0200

Changed in cups-filters (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers