ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] /lib/modules/ access permissions (was: libguestfs)
Date: Sat, 6 Dec 2014 01:52:09 +0300
Message-ID: <20141205225209.GA12993@altlinux.org> (raw)
In-Reply-To: <CAEdvWkSFxt45EMWJT63yiOcN0V0N47pqCJKXybkNkP9-9gQiWQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1471 bytes --]

On Fri, Dec 05, 2014 at 05:14:36PM +0400, Alexey Shabalin wrote:
> 30 ноября 2014 г., 2:47 пользователь Dmitry V. Levin <ldv@altlinux.org> написал:
> > On Sun, Nov 30, 2014 at 12:34:32AM +0300, Alexey Gladkov wrote:
> >> 28.11.2014 20:03, Dmitry V. Levin пишет:
> >> > https://bugzilla.altlinux.org/show_bug.cgi?id=5969
> >>
> >> Времена меняются и modutils и module-init-tools у нас не используются.
> >> Сейчас модули грузятся libkmod, которая не использует fcntl.
> >
> > Да, libkmod не занимается блокировкой файлов модулей, там все просто:
> >         open O_RDONLY
> >         mmap PROT_READ MAP_PRIVATE
> >         finit_module
> > (с разновидностями вида gzdopen/gzread с последующим init_module,
> > если поддерживаются сжатые модули).
> >
> > В ушедшем module-init-tools тоже на авось:
> >         open O_RDONLY
> >         read в цикле
> >         init_module
> >
> >> Я думаю, что описанная в баге проблема должна быть обсуждена ещё раз.
> >
> > Давайте обсудим.  Очевидно, что потенциальный DoS путем блокировки файла
> > модуля сейчас уже не реализуем.
> 
> Привели ли обсуждения к каким-нибудь результатам? Ждать ли каких-либо
> изменений в пакете filesystem?

Слегка обсудили только один вопрос (о блокировках файлов модулей)
и пришли к выводу, что блокировок уже нет.

Вопрос о доступе к vmlinuz (и полученному из него System.map) и модулям
с точки зрения автоматизации атаки на ядро не обсуждался совсем.


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 181 bytes --]

  reply	other threads:[~2014-12-05 22:52 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-18 15:48 [devel] libguestfs Alexey Shabalin
2014-11-20  7:16 ` Alexey Gladkov
2014-11-27 12:17   ` Alexey Shabalin
2014-11-27 12:48     ` Alexey Gladkov
2014-11-27 13:53     ` Eugene Prokopiev
2014-11-27 14:15       ` Alexey Shabalin
2014-11-27 14:29         ` Michael Shigorin
2014-11-27 14:36           ` Alexey Shabalin
2014-11-27 18:04         ` Eugene Prokopiev
2014-11-27 18:15           ` Alexey Gladkov
2014-11-27 18:31             ` Eugene Prokopiev
2014-11-27 14:50       ` Alexey Gladkov
2014-11-27 17:38         ` Eugene Prokopiev
2014-11-27 18:05           ` Alexey Gladkov
2014-11-28 16:54             ` Alexey Shabalin
2014-11-28 17:02               ` Alexey Gladkov
2014-11-28 17:03               ` Dmitry V. Levin
2014-11-29 21:34                 ` Alexey Gladkov
2014-11-29 23:47                   ` [devel] /lib/modules/ access permissions (was: libguestfs) Dmitry V. Levin
2014-11-30  1:15                     ` [devel] /lib/modules/ access permissions Alexey Gladkov
2014-12-05 13:14                     ` [devel] /lib/modules/ access permissions (was: libguestfs) Alexey Shabalin
2014-12-05 22:52                       ` Dmitry V. Levin [this message]
2014-11-29 23:37                 ` [devel] libguestfs Alexey Shabalin
2014-12-05 22:59                   ` Dmitry V. Levin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141205225209.GA12993@altlinux.org \
    --to=ldv@altlinux.org \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git