Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #875118

Bug#887106: denying ptrace access check without PTRACE_MODE_*CREDS

From Anton Gorlov <stalker@locum.ru>
Newsgroups linux.debian.bugs.dist
Subject Bug#887106: denying ptrace access check without PTRACE_MODE_*CREDS
Date 2018-01-13 22:40 +0100
Message-ID <v7BGV-2Pc-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Package: linux-image-3.2.0-5-amd64
Version: 3.2.96-3


When i boot server . based on

Manufacturer: Supermicro
Product Name: X7DB8

I get  many messages in dmesg like
====
_wait_scan]
[Sat Jan 13 23:52:23 2018] Pid: 2840, comm: snmpd Tainted: G        W 
3.2.0-5-amd64 #1 Debian 3.2.96-3
[Sat Jan 13 23:52:23 2018] Call Trace:
[Sat Jan 13 23:52:23 2018]  [<ffffffff81048675>] ? 
warn_slowpath_common+0x78/0x8c
[Sat Jan 13 23:52:23 2018]  [<ffffffff81048721>] ? 
warn_slowpath_fmt+0x45/0x4a
[Sat Jan 13 23:52:23 2018]  [<ffffffff8105f15f>] ? find_ge_pid+0x13/0x34
[Sat Jan 13 23:52:23 2018]  [<ffffffff810516ac>] ? 
__ptrace_may_access+0x47/0xf9
[Sat Jan 13 23:52:23 2018]  [<ffffffff81051955>] ? 
ptrace_may_access+0x24/0x36
[Sat Jan 13 23:52:23 2018]  [<ffffffff81147cb4>] ? 
proc_pid_readdir+0xfc/0x1dc
[Sat Jan 13 23:52:23 2018]  [<ffffffff8110b906>] ? fillonedir+0xaa/0xaa
[Sat Jan 13 23:52:23 2018]  [<ffffffff8110b906>] ? fillonedir+0xaa/0xaa
[Sat Jan 13 23:52:23 2018]  [<ffffffff8110b906>] ? fillonedir+0xaa/0xaa
[Sat Jan 13 23:52:23 2018]  [<ffffffff8110b824>] ? vfs_readdir+0x6f/0xa7
[Sat Jan 13 23:52:23 2018]  [<ffffffff810ee784>] ? kmem_cache_free+0x2d/0x81
[Sat Jan 13 23:52:23 2018]  [<ffffffff8110ba9e>] ? sys_getdents+0x7d/0xcd
[Sat Jan 13 23:52:23 2018]  [<ffffffff8135b212>] ? 
system_call_fastpath+0x16/0x1b
[Sat Jan 13 23:52:23 2018] ---[ end trace 6d1185e92fa57d12 ]---
[Sat Jan 13 23:52:23 2018] ------------[ cut here ]------------
[Sat Jan 13 23:52:23 2018] WARNING: at 
/build/linux-HPGG73/linux-3.2.96/kernel/ptrace.c:228 
__ptrace_may_access+0x47/0xf9()
[Sat Jan 13 23:52:23 2018] Hardware name: X7DB8
[Sat Jan 13 23:52:23 2018] denying ptrace access check without 
PTRACE_MODE_*CREDS
[Sat Jan 13 23:52:23 2018] Modules linked in: xt_recent ts_bm ts_kmp 
ipt_LOG xt_tcpudp nf_conntrack_ipv4 nf_defrag_ipv4 xt_st
ate nf_conntrack ipt_REJECT xt_string xt_owner xt_multiport 
iptable_filter ip_tables x_tables ext2 loop radeon ttm drm_kms_he
lper snd_pcm drm snd_page_alloc snd_timer power_supply i2c_algo_bit 
iTCO_wdt iTCO_vendor_support ioatdma i5000_edac snd psmou
se edac_core i2c_i801 i5k_amb rng_core parport_pc dca i2c_core parport 
shpchp soundcore coretemp evdev serio_raw processor bu
tton container pcspkr thermal_sys ext4 crc16 jbd2 mbcache dm_mod 
microcode usbhid hid ses enclosure sd_mod crc_t10dif sg sr_m
od cdrom ata_generic uhci_hcd floppy ata_piix libata ehci_hcd usbcore 
aacraid usb_common scsi_mod e1000e [last unloaded: scsi
_wait_scan]

and some messages for
Pid: 3830, comm: sudo Tainted: G        W    3.2.0-5-amd64 #1 Debian 
3.2.96-3

after login from ssh i get in console. but proc is mounted

Error, do this: mount -t proc proc /proc
Error, do this: mount -t proc proc /proc
Error, do this: mount -t proc proc /proc
-bash: __rvm_add_to_path: команда не найдена

Back to linux.debian.bugs.dist | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Bug#887106: denying ptrace access check without PTRACE_MODE_*CREDS Anton Gorlov <stalker@locum.ru> - 2018-01-13 22:40 +0100
  Bug#887106: Acknowledgement (denying ptrace access check without PTRACE_MODE_*CREDS) Anton Gorlov <stalker@locum.ru> - 2018-01-13 23:30 +0100

csiph-web