[Bug 124211] Re: touch (do_utimes) causes NULL pointer dereference

2007-07-12 Thread Ben Collins
** Changed in: linux-source-2.6.22 (Ubuntu)
 Assignee: Phillip Lougher => Kyle McMartin
   Status: Confirmed => Fix Released

-- 
touch (do_utimes) causes NULL pointer dereference
https://bugs.launchpad.net/bugs/124211
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 124211] Re: touch (do_utimes) causes NULL pointer dereference

2007-07-12 Thread Soren Hansen
On Wed, Jul 11, 2007 at 09:26:04PM -, Lee Willis wrote:
> For standard files everything is fine - however I see problems
> touching files which aren't owned by the logged in user - but should
> be writeable by them.

Precisely. It's fixed in the newest kernel (2.6.22-8).

-- 
Soren Hansen
http://www.ubuntu.com/

-- 
touch (do_utimes) causes NULL pointer dereference
https://bugs.launchpad.net/bugs/124211
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 124211] Re: touch (do_utimes) causes NULL pointer dereference

2007-07-11 Thread Lee Willis
I get this as well. I'm on ext3 - latest gutsy packages (Kernel is
2.6.22-7).

For standard files everything is fine - however I see problems touching
files which aren't owned by the logged in user - but should be writeable
by them.

In this particular case file ownership is:
$ stat Dordogne\ -\ 2007\ 183.jpg 
  File: `Dordogne - 2007 183.jpg'
  Size: 568711  Blocks: 1120   IO Block: 4096   regular file
Device: 801h/2049d  Inode: 5374316 Links: 1
Access: (2674/-rw-rwsr--)  Uid: ( 1001/documents)   Gid: ( 1001/documents)

The logged in user is a member of the group "documents". This seems to
confirm the observation in bug 124358 and is 100% repeatable on my
system.

dmesg output below:
[392138.548000] BUG: unable to handle kernel NULL pointer dereference at 
virtual address 0030
[392138.548000]  printing eip:
[392138.548000] c018870a
[392138.548000] *pde = 
[392138.548000] Oops:  [#2]
[392138.548000] SMP 
[392138.548000] Modules linked in: nls_cp437 ntfs arc4 ecb blkcipher 
ieee80211_crypt_wep rfcomm l2cap bluetooth ipv6 powernow_k8 cpufreq_stats 
cpufreq_ondemand cpufreq_powersave cpufreq_conservative cpufreq_userspace 
freq_table ac container asus_acpi battery button video sbs dock lp fuse 
snd_via82xx gameport snd_ac97_codec ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm 
snd_page_alloc snd_mpu401_uart snd_seq_dummy snd_seq_oss snd_seq_midi 
snd_rawmidi snd_seq_midi_event parport_pc snd_seq snd_timer snd_seq_device 
parport psmouse bcm43xx snd i2c_viapro pcspkr k8temp ieee80211softmac soundcore 
serio_raw i2c_core ieee80211 ieee80211_crypt shpchp pci_hotplug amd64_agp 
via_agp agpgart af_packet evdev ext3 jbd mbcache sg sd_mod ide_cd cdrom 
ide_disk floppy sata_via ehci_hcd uhci_hcd usbcore via82cxxx ide_core 
ata_generic libata scsi_mod 8139cp 8139too mii thermal processor fan capability 
commoncap
[392138.548000] CPU:0
[392138.548000] EIP:0060:[]Not tainted VLI
[392138.548000] EFLAGS: 00010202   (2.6.22-7-generic #1)
[392138.548000] EIP is at permission+0x2a/0x120
[392138.548000] eax:    ebx: da227ee0   ecx: cc0d3f04   edx: 3220
[392138.548000] esi: fff3   edi: 0002   ebp: cc0d3f04   esp: cc0d3ee8
[392138.548000] ds: 007b   es: 007b   fs: 00d8  gs: 0033  ss: 0068
[392138.548000] Process touch (pid: 6697, ti=cc0d2000 task=d56d8a40 
task.ti=cc0d2000)
[392138.548000] Stack: c35f3df0 fff3  d54e2e40 c01a0e55 c016d678 
da227ee0 d54e2e40 
[392138.548000]ff9c cc0d3f30  c017f595 d54e2e40  
8941 b7eadc40 
[392138.548000]d1b9b9f8 7000 0ab4 c5bfcb7c  0003 
db08b50c 0002 
[392138.548000] Call Trace:
[392138.548000]  [] do_utimes+0x1c5/0x1f0
[392138.548000]  [] __handle_mm_fault+0x288/0xb00
[392138.548000]  [] nameidata_to_filp+0x35/0x40
[392138.548000]  [] do_page_fault+0x37a/0x680
[392138.548000]  [] sys_utimensat+0x22/0xa0
[392138.548000]  [] do_page_fault+0x0/0x680
[392138.548000]  [] sysenter_past_esp+0x6b/0xa9
[392138.548000]  ===
[392138.548000] Code: 00 83 ec 10 89 7c 24 08 89 d7 f7 c7 02 00 00 00 89 1c 24 
89 c3 89 6c 24 0c 89 cd 89 74 24 04 0f b7 50 6a 74 1c 8b 80 98 00 00 00  40 
30 01 0f 85 83 00 00 00 f6 83 3c 01 00 00 08 75 73 8d 76 
[392138.548000] EIP: [] permission+0x2a/0x120 SS:ESP 0068:cc0d3ee8

-- 
touch (do_utimes) causes NULL pointer dereference
https://bugs.launchpad.net/bugs/124211
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 124211] Re: touch (do_utimes) causes NULL pointer dereference

2007-07-08 Thread Soren Hansen
On Fri, Jul 06, 2007 at 01:34:37AM -, Phillip Lougher wrote:
> Can you put the vmware snapshot on a webserver somewhere, so I can
> download it?  The bug seems rather unusual.

You're not at the sprint tomorrow?

Also, I now have 3 inodes that do this. A package (entirely userland)
I'm working on creates them every once in a while, so it should be
possible to track down what triggers it.

-- 
touch (do_utimes) causes NULL pointer dereference
https://bugs.launchpad.net/bugs/124211
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 124211] Re: touch (do_utimes) causes NULL pointer dereference

2007-07-08 Thread Chris Jones
I have seen something very similar on gutsy when starting mediatomb:

[  195.672091] BUG: unable to handle kernel NULL pointer dereference at virtual 
address 0030
[  195.672097]  printing eip:
[  195.672099] c018870a
[  195.672101] *pde = 
[  195.672103] Oops:  [#1]
[  195.672105] SMP 
[  195.672108] Modules linked in: nls_cp437 isofs udf xt_pkttype ipt_LOG 
ipt_REJECT xt_tcpudp nf_conntrack_ipv4 xt_state nf_conntrack nfnetlink 
iptable_filter ip_tables x_tables binfmt_misc rfcomm l2cap nfs nfsd exportfs 
lockd sunrpc tun acpi_cpufreq cpufreq_ondemand cpufreq_conservative 
cpufreq_userspace cpufreq_powersave cpufreq_stats freq_table button battery ac 
dock container asus_acpi video sbs dm_crypt dm_mod dvb_bt8xx bt878 bttv 
w83627ehf i2c_isa eeprom i2c_i801 lp fuse joydev snd_hda_intel snd_pcm_oss 
snd_mixer_oss snd_pcm cx22702 snd_seq_dummy snd_seq_oss cx88_dvb 
cx88_vp3054_i2c dvb_pll video_buf_dvb dvb_core snd_seq_midi snd_rawmidi 
ati_remote hci_usb usbhid snd_seq_midi_event bluetooth nvidia(P) hid cx8800 
serio_raw pcspkr snd_seq snd_timer snd_seq_device cx8802 cx88xx parport_pc 
parport ir_common psmouse i2c_algo_bit tveeprom video_buf i2c_core videodev 
v4l1_compat compat_ioctl32 v4l2_common btcx_risc intel_agp iTCO_wdt 
iTCO_vendor_support snd soundcore snd_page_alloc agpgart shpchp pci_hotplug 
ipv6 evdev ext3 jbd mbcache sd_mod sg sr_mod cdrom ata_piix e100 mii ehci_hcd 
ata_generic libata scsi_mod uhci_hcd usbcore thermal processor fan capability 
commoncap
[  195.672207] CPU:0
[  195.672207] EIP:0060:[]Tainted: P   VLI
[  195.672209] EFLAGS: 00010202   (2.6.22-7-generic #1)
[  195.672215] EIP is at permission+0x2a/0x120
[  195.672217] eax:    ebx: f5a12c38   ecx: f3557f04   edx: 6970
[  195.672220] esi: fff3   edi: 0002   ebp: f3557f04   esp: f3557ee8
[  195.672223] ds: 007b   es: 007b   fs: 00d8  gs: 0033  ss: 0068
[  195.672226] Process touch (pid: 7142, ti=f3556000 task=f42f6520 
task.ti=f3556000)
[  195.672228] Stack: f5a103c0 fff3  f4016300 c01a0e55 c016d678 
f5a12c38 f4016300 
[  195.672236]ff9c f3557f30  c017f595 f4016300  
f5a12c98 b7f140e4 
[  195.672243]f4461f20 f3526c40 0c50 f55fab7c   
df826ac4 0002 
[  195.672250] Call Trace:
[  195.672284]  [] do_utimes+0x1c5/0x1f0
[  195.672290]  [] __handle_mm_fault+0x288/0xb00
[  195.672331]  [] nameidata_to_filp+0x35/0x40
[  195.672464]  [] do_page_fault+0x37a/0x680
[  195.672549]  [] sys_utimensat+0x22/0xa0
[  195.672581]  [] do_page_fault+0x0/0x680
[  195.672595]  [] sysenter_past_esp+0x6b/0xa9
[  195.672660]  [] iw_handler_get_private+0x40/0x80
[  195.672718]  ===
[  195.672720] Code: 00 83 ec 10 89 7c 24 08 89 d7 f7 c7 02 00 00 00 89 1c 24 
89 c3 89 6c 24 0c 89 cd 89 74 24 04 0f b7 50 6a 74 1c 8b 80 98 00 00 00  40 
30 01 0f 85 83 00 00 00 f6 83 3c 01 00 00 08 75 73 8d 76 
[  195.672755] EIP: [] permission+0x2a/0x120 SS:ESP 0068:f3557ee8

-- 
touch (do_utimes) causes NULL pointer dereference
https://bugs.launchpad.net/bugs/124211
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 124211] Re: touch (do_utimes) causes NULL pointer dereference

2007-07-08 Thread Chris Jones
tracing the init script shows:

+ touch /var/run/mediatomb.pid

Message from [EMAIL PROTECTED] at Sun Jul  8 23:15:50 2007 ...
tenshu kernel: [ 1731.872931] Oops:  [#2]

-- 
touch (do_utimes) causes NULL pointer dereference
https://bugs.launchpad.net/bugs/124211
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 124211] Re: touch (do_utimes) causes NULL pointer dereference

2007-07-05 Thread Phillip Lougher
Soren

Can you put the vmware snapshot on a webserver somewhere, so I can download it? 
 The bug
seems rather unusual.

Thanks

Phillip


** Changed in: linux-source-2.6.22 (Ubuntu)
   Importance: Undecided => Medium
 Assignee: (unassigned) => Phillip Lougher
   Status: New => Confirmed

-- 
touch (do_utimes) causes NULL pointer dereference
https://bugs.launchpad.net/bugs/124211
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs